Skip to main content

UserLookAndFeel.SetStyle(LookAndFeelStyle, Boolean, Boolean, String, String) Method

Sets the look and feel settings of the current object to the specified values.

Namespace: DevExpress.LookAndFeel

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
public void SetStyle(
    LookAndFeelStyle style,
    bool useWindowsXPTheme,
    bool useDefaultLookAndFeel,
    string skinName,
    string paletteName
)

Parameters

Name Type Description
style LookAndFeelStyle

A LookAndFeelStyle enumeration value which specifies the style of the current object. This value is assigned to the UserLookAndFeel.Style property.

useWindowsXPTheme Boolean

true if a control should be painted using the WindowsXP theme; otherwise, false.

useDefaultLookAndFeel Boolean

true to use the look and feel settings provided by the parent object or default look and feel object; false to apply the current object’s settings. This value is assigned to the UserLookAndFeel.UseDefaultLookAndFeel property.

skinName String

A string value specifying the skin name. This value is assigned to the UserLookAndFeel.SkinName property.

paletteName String

A string value specifying the name of the palette used to color vector images.

Remarks

This member is no longer supported.

See Also