Skip to main content
Bar

BarAndDockingControllerLookAndFeel.FormTouchUIMode Property

Gets or sets whether the touch UI mode is enabled for the controls managed by the current BarAndDockingController.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
public virtual DefaultBoolean FormTouchUIMode { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

A value that specifies whether the touch UI mode is enabled for the controls managed by the current BarAndDockingController.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Remarks

In touch UI mode, controls automatically increase their size and the distance between some of their elements. The size and distance are increased according to the TouchScaleFactor setting.

To enable touch UI mode and set the touch UI scale factor for all forms within your application, use the WindowsFormsSettings.TouchUIMode and WindowsFormsSettings.TouchScaleFactor static settings.

To specify touch UI settings for the following controls within individual forms, the BarAndDockingControllerLookAndFeel.FormTouchUIMode and BarAndDockingControllerLookAndFeel.FormTouchScaleFactor properties can be used.

Touch UI mode for these controls/components can be enabled/disabled as follows:

If the BarAndDockingControllerLookAndFeel.FormTouchUIMode property is set to Default, the touch UI mode availability is controlled by the WindowsFormsSettings.TouchUIMode global setting.

See Also