UserLookAndFeel.UseDefaultLookAndFeel Property

Gets or sets whether the current object’s settings are in effect.

Namespace: DevExpress.LookAndFeel

Assembly: DevExpress.Utils.v21.1.dll


public virtual bool UseDefaultLookAndFeel { get; set; }

Property Value

Type Default Description


true to use look and feel settings provided by the parent object or default look and feel object; false to enable this object’s settings.


If the UseDefaultLookAndFeel property is set to true and the UserLookAndFeel.ParentLookAndFeel property specifies a non-null value, look and feel settings are specified by the object assigned to the UserLookAndFeel.ParentLookAndFeel property.

If the UseDefaultLookAndFeel property value is true, but the UserLookAndFeel.ParentLookAndFeel property value is null (Nothing in Visual Basic), look and feel settings are controlled by an object available via the static UserLookAndFeel.Default property. This default look and feel can be customized at design time using the DefaultLookAndFeel component.

If the UseDefaultLookAndFeel property value is false, the UserLookAndFeel.UseWindowsXPTheme and UserLookAndFeel.Style properties specify the actual look and feel applied.

See Also