Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

OBSOLETE

This method is obsolete. Use the SetStyle method without the touchUIMode and touchScaleFactor parameters. To enable Touch UI and TouchScaleFactor, use the WindowsFormsSettings.TouchUIMode and WindowsFormsSettings.TouchScaleFactor properties.

Sets the look and feel settings of the current object to the specified values. This member is no longer supported.

Namespace: DevExpress.LookAndFeel

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is obsolete. Use the SetStyle method without the touchUIMode and touchScaleFactor parameters. To enable Touch UI and TouchScaleFactor, use the WindowsFormsSettings.TouchUIMode and WindowsFormsSettings.TouchScaleFactor properties.")]
public void SetStyle(
    LookAndFeelStyle style,
    bool useWindowsXPTheme,
    bool useDefaultLookAndFeel,
    string skinName,
    TouchUIMode touchUIMode,
    float touchScaleFactor
)

#Parameters

Name Type Description
style LookAndFeelStyle

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

touchUIMode TouchUIMode

A value that specifies whether touch-aware mode needs to be enabled or disabled. This value is assigned to the TouchUIMode property.

touchScaleFactor Single

The scale factor applied when touch-aware mode is enabled. This value is assigned to the WindowsFormsSettings.TouchScaleFactor property.

#Remarks

This member is no longer supported.

See Also