Skip to main content

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

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