ScaleHelperHasDefaultScaling Method
Gets whether the display that the specified control belongs to has the same DPI as the initial DPI of the primary display.
Namespace: KGySoft.WinFormsAssembly: KGySoft.WinForms (in KGySoft.WinForms.dll) Version: 5.0.1
public static bool HasDefaultScaling(
this Control control
)
<ExtensionAttribute>
Public Shared Function HasDefaultScaling (
control As Control
) As Boolean
public:
[ExtensionAttribute]
static bool HasDefaultScaling(
Control^ control
)
[<ExtensionAttribute>]
static member HasDefaultScaling :
control : Control -> bool
- control Control
- The control to check.
Boolean if the display that the specified
control belongs to has the same DPI as the initial DPI of the primary display; otherwise,
.In Visual Basic and C#, you can call this method as an instance method on any object of type
Control. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).