Back to Devexpress

ContainerUserLookAndFeel.TouchScaleFactor Property

windowsforms-devexpress-dot-lookandfeel-dot-helpers-dot-containeruserlookandfeel-4bc3cdd7.md

latest2.0 KB
Original Source

ContainerUserLookAndFeel.TouchScaleFactor Property

Gets or sets the scale factor used to calculate the size and distance between specific control elements when touch UI mode is enabled.

Namespace : DevExpress.LookAndFeel.Helpers

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DefaultValue(2F)]
[DXCategory("Appearance")]
public virtual float TouchScaleFactor { get; set; }
vb
<DefaultValue(2F)>
<DXCategory("Appearance")>
Public Overridable Property TouchScaleFactor As Single

Property Value

TypeDefaultDescription
Single2

The scale factor used to calculate the size and distance between specific control elements when touch UI mode is enabled.

|

Remarks

When touch UI mode is enabled for the current container, the size and distance between specific elements of this container and its child controls are increased according to the TouchScaleFactor setting. See ContainerUserLookAndFeel.TouchUIMode for more information and screenshots.

See Also

TouchUIMode

ContainerUserLookAndFeel Class

ContainerUserLookAndFeel Members

DevExpress.LookAndFeel.Helpers Namespace