We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change Offset property from double to ColorOffset structure:
public struct ColorOffset { public OffsetUnit { get; set; } public double Value { get; set; } }
public enum OffsetUnit { Proportion, Pixels, Percent }
With double type there is no way to distinguish between percent and pixels when CSS is parsed: 1px => 1 (valid proportion and pixel value)
Provide Offset type converter for XAML:
Offset="0.25"
Offset="25%"
Offset="34px"
The text was updated successfully, but these errors were encountered:
mgierlasinski
Successfully merging a pull request may close this issue.
Change Offset property from double to ColorOffset structure:
With double type there is no way to distinguish between percent and pixels when CSS is parsed:
1px => 1 (valid proportion and pixel value)
Provide Offset type converter for XAML:
Offset="0.25"
=> no changesOffset="25%"
=> calculate to 0.25Offset="34px"
=> calculate based on canvas sizeThe text was updated successfully, but these errors were encountered: