Back to Devexpress

UserLookAndFeel Members

windowsforms-devexpress-dot-lookandfeel-dot-userlookandfeel-dot-underscore-members.md

latest15.7 KB
Original Source

UserLookAndFeel Members

Contains look and feel settings for DevExpress UI controls.

Constructors

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

Fields

NameDescription
DefaultSkinNameGets the name of the default skin style.

Properties

NameDescription
ActiveLookAndFeelGets the actual UserLookAndFeel object currently applied.
ActiveSkinNameGets the name of the currently applied skin.
ActiveStyleGets the style currently applied. This member is no longer supported.
ActiveSvgPaletteNameReturns the name of the currently applied swatch.
CompactUIModeThis method supports internal infrastructure and is not intended for use in code.
CompactUIModeForcedReturns 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 staticGets the Default LookAndFeel object to use for controls when the UserLookAndFeel.UseDefaultLookAndFeel property is set to true.
IsColorizedGets whether the UserLookAndFeel.SkinMaskColor or UserLookAndFeel.SkinMaskColor2 property is specified for the current UserLookAndFeel object.
IsLookAndFeelHierarchyRootThis member supports the internal infrastructure, and is not intended to be used directly from your code.
OwnerControlGets the control that owns the current UserLookAndFeel object.
PainterGets the painter based on the style currently applied for drawing control’s elements.
ParentLookAndFeelGets or sets the parent LookAndFeel.
SkinMaskColorGets or sets a custom hue applied to some skin elements.
SkinMaskColor2Gets or sets the second custom hue, typically applied to some skin elements when they are highlighted/hovered.
SkinNameGets or sets the name of a skin style.
StyleGets or sets the style of the current UserLookAndFeel object. This property is no longer supported.
TouchUIParentThis member supports the internal infrastructure, and is not intended to be used directly from your code.
UseDefaultLookAndFeelGets or sets whether the current object’s settings are in effect.
UseWindows7BorderGets 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.
UseWindowsXPThemeGets or sets whether controls should be painted using the native Windows theme. This property is no longer supported.

Methods

NameDescription
Dispose()Releases all resources used by the current object.
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.
ForceCompactUIMode(Boolean, Boolean) staticThis 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.
GetIsSpaciousSkin()For internal use.
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.
GetSpaciousScaleFactor()For internal use.
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() 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.
RegisterEventRecord<T>() static
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. This member is no longer supported.
SetStyle(LookAndFeelStyle, Boolean, Boolean, String, TouchUIMode)Obsolete. Sets the look and feel settings of the current object to the specified values. This member is no longer supported.
SetStyle(LookAndFeelStyle, Boolean, Boolean, String, Boolean, Single)Obsolete. Sets the look and feel settings of the current object to the specified values. This member is no longer supported.
SetStyle(LookAndFeelStyle, Boolean, Boolean, String, Boolean)Obsolete. Sets the look and feel settings of the current object to the specified values. This member is no longer supported.
SetStyle(LookAndFeelStyle, Boolean, Boolean, String, String)Sets the look and feel settings of the current object to the specified values. This member is no longer supported.
SetStyle(LookAndFeelStyle, Boolean, Boolean, String)Sets the look and feel settings of the current object to the specified values. This method is obsolete.
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

NameDescription
StyleChangedOccurs on changing properties of the current UserLookAndFeel object or the parent LookAndFeel specified by the UserLookAndFeel.ParentLookAndFeel member.

See Also

UserLookAndFeel Class

DevExpress.LookAndFeel Namespace