WindowsFormsSettings.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. This is a static property.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[DefaultValue(2F)]
public static float TouchScaleFactor { get; set; }
<DefaultValue(2F)>
Public Shared Property TouchScaleFactor As Single

Property Value

Type Default Description
Single

2

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, the size and distance between specific control elements are increased according to the TouchScaleFactor setting. See WindowsFormsSettings.TouchUIMode for more information and screenshots.

See Also