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

RibbonOptionsTouch.TouchUI Property

Gets or sets whether the touch UI is enabled for the Ribbon Control and optionally for other DevExpress controls in the project.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean TouchUI { get; set; }

Property Value

Type Default Description
DefaultBoolean **Default**

True, if the touch UI is enabled; False, if this mode is disabled; The Default value is equivalent to False.

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

Property Paths

You can access this nested property as listed below:

Object Type Path to TouchUI
RibbonControl
.OptionsTouch.TouchUI

Remarks

See Touch Support to learn about touch UI mode support for the Ribbon Control.

When True is assigned to the TouchUI property, this value is also assigned to the static WindowsFormsSettings.TouchUIMode property by default. This enables touch UI mode for all DevExpress controls in the project.

To enable touch UI only for the Ribbon Control without affecting other controls in the application, set the RibbonOptionsTouch.AffectOnlyRibbon property to true.

When False or Default is assigned to the TouchUI property, the False value is assigned to the static WindowsFormsSettings.TouchUIMode property.

See Also