-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
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
ImageEx CornerRadius RS3 Support and RoundImageEx Obsolete Notice #1586
ImageEx CornerRadius RS3 Support and RoundImageEx Obsolete Notice #1586
Conversation
…ues per corner) and fixes for parallel compatibility with RoundImageEx for down-level.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, only have a small request to change the wording in the sample from RS3 to Fall Creators Update
CornerRadius="30,60,30,60" | ||
Style="{StaticResource RectangleStyle}"/> | ||
|
||
<TextBlock Text="Above ImageEx will have rounded corners on RS3." Margin="4" HorizontalAlignment="Center"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change this from RS3 to Fall Creators Update?
@nmetulev updated wording, so we should be all set now. |
@nmetulev So you won't actually remove the Code for RoundImageEx, until Fall Creators Update becomes Minimum Supported Version of the UWP Community Toolkit? It just has the Obsolete flag? |
Yeah, we won't remove it until a future major update |
Future Major update of the Toolkit, or Windows? Having RoundImageEx is helpful for Backwards Compat. |
Agree with you. Need to make sure we don't create any breaking changes and continue support our min version. Breaking changes only happen on major releases of the toolkit. |
Issue: #1391
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Round Image uses its own custom brush and behaves differently than Image/ImageEx in layout (Issue #1391)
PR Checklist
Please check if your PR fulfills the following requirements:
What is the new behavior?
This adds a
CornerRadius
property toImageEx
to replace the need forRoundImageEx
entirely, now that RS3 properly supports the CornerRadius property.Does this PR introduce a breaking change?
Does mark RoundImageEx as Obsolete.
Other information
If trying to use new
CornerRadius
on ImageEx on down-level platforms, rendering is not as expected, as if had tried to do the same on a Grid surrounding an Image.