[]
Scales the Style instance uses the DeviceDpi value if this element has a HostControl.
protected void ScaleToDeviceDPI(Style value)
Type | Name | Description |
---|---|---|
Style | value | The style for scaling. |
This method doen't scale the Font property.
Scales a value uses the DeviceDpi value if this element has a HostControl.
protected int ScaleToDeviceDPI(int value)
Type | Name | Description |
---|---|---|
int | value | The value for scaling. |
Type | Description |
---|---|
int | The scaled value. |
Scales a value uses the DeviceDpi value if this element has a HostControl.
protected Size ScaleToDeviceDPI(Size value)
Type | Name | Description |
---|---|---|
Size | value | The value for scaling. |
Type | Description |
---|---|
Size | The scaled value. |
Scales a value uses the DeviceDpi value if this element has a HostControl.
protected Thickness ScaleToDeviceDPI(Thickness value)
Type | Name | Description |
---|---|---|
Thickness | value | The value for scaling. |
Type | Description |
---|---|
Thickness | The scaled value. |