[]
Scales the Style instance uses the DeviceDpi value if this element has a HostControl.
protected void ScaleToDeviceDPI(Style value)
Protected Sub ScaleToDeviceDPI(value As Style)
| 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)
Protected Function ScaleToDeviceDPI(value As Integer) As Integer
| 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)
Protected Function ScaleToDeviceDPI(value As Size) As Size
| 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)
Protected Function ScaleToDeviceDPI(value As Thickness) As Thickness
| Type | Name | Description |
|---|---|---|
| Thickness | value | The value for scaling. |
| Type | Description |
|---|---|
| Thickness | The scaled value. |