Skip to main content
Bar

BarAndDockingControllerLookAndFeel.GetTouchScaleFactor() Method

Gets the actual touch UI scale factor for controls managed by the current BarAndDockingController.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public override float GetTouchScaleFactor()

Returns

Type Description
Single

The actual touch UI scale factor for the current container.

Remarks

If the BarAndDockingControllerLookAndFeel.FormTouchUIMode 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 BarAndDockingControllerLookAndFeel.FormTouchScaleFactor property value.

See Also