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
The layout of visual (the position at its parent, e.g. margin) affects VisualBrush results. In WPF, it's not.
<UniformGrid Columns="3" Height="200"> <Rectangle x:Name="Rectangle0" Fill="Red" Margin="20"/> <Rectangle x:Name="Rectangle1" Margin="20"/> </UniformGrid>
Rectangle1.Fill = new VisualBrush(Rectangle0);
Same code in Avalonia and WPF.
Avalonia result:
WPF result:
The behavior in WPF.
11.2.3
No response
The text was updated successfully, but these errors were encountered:
Gillibald
No branches or pull requests
Describe the bug
The layout of visual (the position at its parent, e.g. margin) affects VisualBrush results.
In WPF, it's not.
To Reproduce
Same code in Avalonia and WPF.
Avalonia result:
WPF result:
Expected behavior
The behavior in WPF.
Avalonia version
11.2.3
OS
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: