Back to Devexpress

WindowsFormsSettings Methods

windowsforms-devexpress-dot-xtraeditors-dot-windowsformssettings-dot-underscore-methods.md

latest12.7 KB
Original Source

WindowsFormsSettings Methods

Exposes appearance and behavior settings common to all DevExpress controls.

NameDescription
ApplyDemoSettings() staticThis method is called by DevExpress demos to apply specific settings. This is a static method.
DisableFormSkins() staticDisables the title bar skinning feature for DevExpress forms and message boxes.
DisableMdiFormSkins() staticDisables the title bar skinning feature for MDI child DevExpress forms.
DisableWindowShadows() staticDisables window shadows for XtraForm, XtraMessageBox, and XtraDialog.
EnableFormSkins() staticEnables the title bar skinning feature for DevExpress forms and message boxes.
EnableFormSkinsIfXP() staticEnables the title bar skinning feature for DevExpress forms and message boxes, if the application is running under Microsoft Windows XP.
EnableMdiFormSkins() staticEnables the title bar skinning feature for MDI child DevExpress forms.
EnableWindowShadows() staticRe-enables form, message and dialog shadows that have been turned off with the WindowsFormsSettings.DisableWindowShadows() method call. Can also be used to display shadows through remote connections when the WindowsFormsSettings.OptimizeRemoteConnectionPerformance property is enabled.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
ForceAPIPaint() staticEnables the mixed use of the DevExpress text rendering library and System.Windows.Forms.TextRenderer class functionality.
ForceDirectXPaint() staticTurns the DirectX Hardware Acceleration on.
ForceGDIPlusPaint() staticEnables the use of the System.Drawing.Graphics class for text rendering.
ForcePaintApiDiagnostics(PaintApiDiagnosticsLevel, PaintApiTraceLevelResolver) staticAllows you to trace all outdated APIs that are not recommended for use with DirectX-rendered and Per-Monitor DPI-aware applications. Starting with version 18.2, also traces Appearance.BackColor properties modified for skinned UI elements.
ForceTextRenderPaint() staticEnables the use of the System.Windows.Forms.TextRenderer class for rendering text.
GetAccentColor() staticReturns a custom accent color.
GetAccentColor2() staticReturns the second accent color.
GetAllowDefaultSvgImages() staticReturns the actual value of the WindowsFormsSettings.AllowDefaultSvgImages property.
GetAllowHoverAnimation(ISkinProvider) staticReturns whether animation on hovering objects is enabled. This is a static method.
GetAllowRoundedWindowCorners() static
GetAllowSkinEditorAttach() staticReturns whether this application can serve as an External Preview Application in WinForms Skin Editor. See the WindowsFormsSettings.AllowSkinEditorAttach property for the details.
GetAutoCorrectForeColor() staticReturns the current WindowsFormsSettings.AutoCorrectForeColor property setting.
GetFormatRuleColorScaleMinMaxBehavior() static
GetHashCode()Serves as the default hash function. Inherited from Object.
GetIsRightToLeft(Control) staticReturns a Boolean value that indicates whether the specified control is actually aligned to support locales using right-to-left fonts. This is a static method.
GetIsRightToLeft(RightToLeft) staticReturns a Boolean value that specifies whether DevExpress controls are aligned to support locales using right-to-left fonts. The method parameter allows the default behavior to be specified. This is a static method.
GetIsRightToLeftLayout(Boolean) staticReturns a Boolean value that indicates whether right-to-left mirror placement is turned on. The method parameter allows the default behavior to be specified. This is a static method.
GetIsRightToLeftLayout(Control) staticReturns a Boolean value that indicates whether right-to-left mirror placement is turned on for the specified control or form. This is a static method.
GetPopupShadowStyle(UserLookAndFeel) static
GetRightToLeft(Control) staticReturns a RightToLeft enumeration value that indicates whether the specified control is actually aligned to support locales using right-to-left fonts. This is a static method.
GetRightToLeft(RightToLeft) staticReturns a RightToLeft enumeration value that specifies whether DevExpress controls are aligned to support locales using right-to-left fonts. The method parameter allows the default behavior to be specified. This is a static method.
GetType()Gets the Type of the current instance. Inherited from Object.
LoadApplicationSettings() staticLoads application settings and updates the corresponding CLR properties accordingly.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
RegisterUserSkin(SkinBlobXmlCreator) staticRegisters the specified skin stored as a BLOB for runtime use. This method replaces the previously used SkinManager.RegisterSkin(SkinCreator) method that did not affect splash screens and required that you call the additional SplashScreenManager.RegisterUserSkins(Assembly) method.
RegisterUserSkins(Assembly) staticRegisters all skins from the target assembly, allowing you and your users to apply them. This method replaces the previously used SkinManager.Default.RegisterAssembly method that did not affect splash screens and required that you call the additional SplashScreenManager.RegisterUserSkins(Assembly) method.
SetAccentColor(Color) staticSpecifies a custom accent color. The custom accent color overrides the accent color setting in Windows OS (if the TrackWindowsAccentColor option is enabled).
SetAccentColor2(Color) staticSpecifies the second accent color. “The Bezier” skin supports the second accent color. Other skins do not support the second accent color.
SetDPIAware() staticEnables system DPI awareness mode for the current process.
SetPerMonitorDpiAware() staticEnables “Per-Monitor (v2)” DPI awareness mode for the process if it runs on versions greater than Windows 10 Creators Update (build 1703). On older Windows OS versions, enables system DPI awareness mode.
ToString()Returns a string that represents the current object. Inherited from Object.

See Also

WindowsFormsSettings Class

WindowsFormsSettings Members

DevExpress.XtraEditors Namespace