Skip to main content
A newer version of this page is available. .

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.
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 UserLookAndFeel.UseWindowsXPTheme property is set to true.
UseWindowsXPTheme Gets or sets whether controls should be painted using the native Windows theme.

Methods

Name Description
Assign(UserLookAndFeel) Copies properties of the specified UserLookAndFeel object to the current object.
DestroyDefaultLookAndFeel() static Explicitly disposes of theUserLookAndFeel object currently utilized.
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.
GetCompactScaleFactor() This member supports the internal infrastructure and is not intended to be used directly from your code.
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.
IsEquals(UserLookAndFeel) Tests whether two objects have the same property values.
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.
ResetSkinMaskColors() Sets the UserLookAndFeel.SkinMaskColor and UserLookAndFeel.SkinMaskColor2 properties to an empty color (System.Drawing.Color.Empty).
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.
SetSkinMaskColors(Color, Color) Sets the UserLookAndFeel.SkinMaskColor and UserLookAndFeel.SkinMaskColor2 properties to the specified values.
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)
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