Back to Devexpress

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

windowsforms-devexpress-dot-lookandfeel-dot-userlookandfeel-dot-setstyle-x28-devexpress-dot-lookandfeel-dot-lookandfeelstyle-system-dot-boolean-system-dot-boolean-system-dot-string-x29.md

latest2.5 KB
Original Source

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

Sets the look and feel settings of the current object to the specified values. This method is obsolete.

Namespace : DevExpress.LookAndFeel

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
[EditorBrowsable(EditorBrowsableState.Never)]
public void SetStyle(
    LookAndFeelStyle style,
    bool useWindowsXPTheme,
    bool useDefaultLookAndFeel,
    string skinName
)
vb
<EditorBrowsable(EditorBrowsableState.Never)>
Public Sub SetStyle(
    style As LookAndFeelStyle,
    useWindowsXPTheme As Boolean,
    useDefaultLookAndFeel As Boolean,
    skinName As String
)

Parameters

NameTypeDescription
styleLookAndFeelStyle

A LookAndFeelStyle enumeration value which specifies the style of the current object.

| | 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.

| | skinName | String |

A string value specifying the skin name.

|

Remarks

This member is no longer supported.

See Also

UseDefaultLookAndFeel

SkinName

UserLookAndFeel Class

UserLookAndFeel Members

DevExpress.LookAndFeel Namespace