Skip to main content
A newer version of this page is available. .

WindowsFormsSettings Class

Provides appearance and behavior settings common to all DevExpress controls.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v18.1.dll

Declaration

public static class WindowsFormsSettings

Remarks

The WindowsFormsSettings class provides a number of static (Shared in Visual Basic) properties and methods to specify the appearance and behavior settings common to all DevExpress controls. These members allow you to customize the look and feel settings, skinning features, common fonts for menus and printing, scroll bars and scrolling modes, etc.

Note

All properties provided by the WindowsFormsSettings class are static and must be accessed accordingly—through the class itself rather than its instance. The following code snippet illustrates an example.


static void Main() { 
    // ...
    DevExpress.XtraEditors.WindowsFormsSettings.TouchUIMode = DevExpress.LookAndFeel.TouchUIMode.True;
    DevExpress.XtraEditors.WindowsFormsSettings.TouchScaleFactor = 2.1F;
    DevExpress.XtraEditors.WindowsFormsSettings.ScrollUIMode = ScrollUIMode.Touch;
    DevExpress.XtraEditors.WindowsFormsSettings.ShowTouchScrollBarOnMouseMove = false;
}

The following code snippets (auto-collected from DevExpress Examples) contain references to the WindowsFormsSettings class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

Object
WindowsFormsSettings
See Also