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.v20.2.dll

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
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object's parent object setting (e.g., a control setting).

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