Back to Devexpress

RibbonOptionsTouch.TouchUI Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribbonoptionstouch.md

latest3.5 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[XtraSerializableProperty]
public DefaultBoolean TouchUI { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
Public Property TouchUI As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn 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 TypePath 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

ShowTouchUISelectorInQAT

ShowTouchUISelectorVisibilityItemInQATMenu

Touch Support

TouchUIMode

DefaultLookAndFeel

RibbonOptionsTouch Class

RibbonOptionsTouch Members

DevExpress.XtraBars.Ribbon Namespace