Skip to main content

TdxControlFrameOptions.Scale Property

Specifies if the frame border thickness scales according to monitor DPI changes.

Declaration

property Scale: Boolean read; write; default ScaleByDefault;

Property Value

Type Description
Boolean

If True, the frame border thickness scales according to monitor DPI changes. If False, the frame border thickness is always equal to the Thickness property value.

Remarks

The Thickness property specifies the unscaled frame border thickness. If the Scale property is set to True, the frame border thickness scales automatically according to monitor DPI changes. In this case, you can use the ScaledThickness property to identify the actual frame border thickness.

You can set the Scale property to False to disable automatic border thickness scaling.

The Scale property’s default value is True.

See Also