Summary
Rounds the given value based on the DPI scale
- Namespace
- MahApps
.Metro .Controls - Containing Type
- Utils
Syntax
public static double RoundLayoutValue(double value, double dpiScale)
Parameters
Name | Type | Description |
---|---|---|
value | double | Value to round |
dpiScale | double | DPI Scale |
Return Value
Type | Description |
---|---|
double |