Skip to main content

UserLookAndFeel Members

Represents look and feel settings for controls provided by DevExpress.

Constructors

Name Description
UserLookAndFeel(Object) Initializes a new instance of the UserLookAndFeel class.

Fields

Name Description
DefaultSkinName Gets the name of the default skin style.

Properties

Name Description
ActiveLookAndFeel Gets the actual UserLookAndFeel object currently applied.
ActiveSkinName Gets the name of the currently applied skin.
ActiveStyle Gets the style currently applied.
ActiveSvgPaletteName Returns the name of the currently applied swatch.
CompactUIMode This method supports internal infrastructure and is not intended for use in code.
CompactUIModeForced Returns whether the application is currently in Compact UI Mode. The return value depends on both the WindowsFormsSettings.CompactUIMode property and the currently applied skin (for instance, the WXI Compact skin forces the Compact UI Mode).
Default static Gets the Default LookAndFeel object to use for controls when the UserLookAndFeel.UseDefaultLookAndFeel property is set to true.
IsColorized Gets whether the UserLookAndFeel.SkinMaskColor or UserLookAndFeel.SkinMaskColor2 property is specified for the current UserLookAndFeel object.
IsLookAndFeelHierarchyRoot This member supports the internal infrastructure, and is not intended to be used directly from your code.
OwnerControl Gets the control that owns the current UserLookAndFeel object.
Painter Gets the painter based on the style currently applied for drawing control’s elements.
ParentLookAndFeel Gets or sets the parent LookAndFeel.
SkinMaskColor Gets or sets a custom hue applied to some skin elements.
SkinMaskColor2 Gets or sets the second custom hue, typically applied to some skin elements when they are highlighted/hovered.
SkinName Gets or sets the name of a skin style.
Style Gets or sets the style of the current UserLookAndFeel object.
TouchUIParent This member supports the internal infrastructure, and is not intended to be used directly from your code.
UseDefaultLookAndFeel Gets or sets whether the current object’s settings are in effect.
UseWindows7Border Gets or sets whether borders of TextEdit controls are painted in the same manner as borders of standard text editors built into Microsoft Windows 7. This property is in effect if the current OS is Windows 7 and the DevExpress XP paint theme is applied.
UseWindowsXPTheme Gets or sets whether controls should be painted using the native Windows theme.

Methods

Name Description
Dispose() Releases all resources used by the current object.
Equals(Object, Object) static Determines 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.
ForceCompactUIMode(Boolean, Boolean) static This method is not intended to be used in code. Use the WindowsFormsSettings.CompactUIMode property instead to switch between regular and compact UI modes.
GetCompactScaleFactor() This member supports the internal infrastructure and is not intended to be used directly from your code.
GetCompactScaleFactor(String) static
GetCompactUI() This member supports the internal infrastructure and is not intended to be used directly from your code.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetMaskColor() Gets the actual value of the UserLookAndFeel.SkinMaskColor setting for the current UserLookAndFeel object.
GetMaskColor2() Gets the actual value of the UserLookAndFeel.SkinMaskColor2 setting for the current UserLookAndFeel object.
GetTouchScaleFactor() This member supports the internal infrastructure, and is not intended to be used directly from your code. Use the WindowsFormsSettings.TouchScaleFactor property instead.
GetTouchUI() This member supports the internal infrastructure, and is not intended to be used directly from your code. Use the WindowsFormsSettings.TouchUIMode property instead.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Reverts the look and feel settings to their default values.
ResetParentLookAndFeel() Sets the UserLookAndFeel.ParentLookAndFeel property to its default value.
SetDefaultStyle() Applies the default look and feel settings to a control.
SetFlatStyle() Applies the Flat style to a control.
SetOffice2003Style() Applies the Office2003 style to a control.
SetSkinStyle(SkinStyle) Applies the desired DevExpress skin to the application.
SetSkinStyle(SkinSvgPalette) Applies the specified skin and palette.
SetSkinStyle(String, TouchUIMode) Obsolete. This member supports the internal infrastructure, and is not intended to be used directly from your code.
SetSkinStyle(String, Boolean) Obsolete. This member supports the internal infrastructure, and is not intended to be used directly from your code.
SetSkinStyle(String, String) Applies the specified skin and palette.
SetSkinStyle(String) Applies the specified skin.
SetStyle(ILookAndFeelService, String) For internal use.
SetStyle(ILookAndFeelService) This method supports internal infrastructure and is not intended to be used in code.
SetStyle(LookAndFeelStyle, Boolean, Boolean, String, TouchUIMode, Single) Obsolete. Sets the look and feel settings of the current object to the specified values.
SetStyle(LookAndFeelStyle, Boolean, Boolean, String, TouchUIMode) Obsolete. Sets the look and feel settings of the current object to the specified values.
SetStyle(LookAndFeelStyle, Boolean, Boolean, String, Boolean, Single) Obsolete. Sets the look and feel settings of the current object to the specified values.
SetStyle(LookAndFeelStyle, Boolean, Boolean, String, Boolean) Obsolete. Sets the look and feel settings of the current object to the specified values.
SetStyle(LookAndFeelStyle, Boolean, Boolean, String, String) Sets the look and feel settings of the current object to the specified values.
SetStyle(LookAndFeelStyle, Boolean, Boolean, String) Sets the look and feel settings of the current object to the specified values.
SetStyle(LookAndFeelStyle, Boolean, Boolean) Sets the look and feel settings of the current object.
SetStyle3D() Applies the Style3D style to a control.
SetUltraFlatStyle() Applies the UltraFlat style to a control.
SetWindowsXPStyle() Applies the WindowsXP style to a control.
ShouldSerialize() Tests whether the UserLookAndFeel object should be persisted.
ToString() Returns the text representation of the current object.
UpdateStyleSettings() Notifies controls that look-and-feel settings have been changed and the controls need to be refreshed.

Events

Name Description
StyleChanged Occurs on changing properties of the current UserLookAndFeel object or the parent LookAndFeel specified by the UserLookAndFeel.ParentLookAndFeel member.
See Also