Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#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