Skip to main content

ContainerUserLookAndFeel.GetTouchScaleFactor() Method

Gets the actual touch UI scale factor for the current container.

Namespace: DevExpress.LookAndFeel.Helpers

Assembly: DevExpress.Utils.v23.2.dll

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

Declaration

public override float GetTouchScaleFactor()

Returns

Type Description
Single

The actual touch UI scale factor for the current container.

Remarks

If the ContainerUserLookAndFeel.TouchUIMode property is set to Default, the touch UI scale factor is specified by the WindowsFormsSettings.TouchScaleFactor global setting. Otherwise, the touch UI scale factor is specified by the ContainerUserLookAndFeel.TouchScaleFactor property value.

See Also