Closed kazo0 closed 3 months ago
BREAKING CHANGE: RatingControl Lightweight Styling keys have changed to align the WinUI resource keys
closes #1349
What kind of change does this PR introduce?
Given the following XAML:
<Grid VerticalAlignment="Center"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition Height="Auto" /> </Grid.RowDefinitions> <RatingControl VerticalAlignment="Center" HorizontalAlignment="Center" Value="3"> <RatingControl.Resources> <SolidColorBrush x:Key="RatingControlSelectedForeground" Color="Red" /> <SolidColorBrush x:Key="RatingControlUnselectedForeground" Color="Orange" /> </RatingControl.Resources> </RatingControl> <Border Grid.Row="1"> <Border.Resources> <MaterialTheme xmlns="using:Uno.Material" /> </Border.Resources> <RatingControl VerticalAlignment="Center" HorizontalAlignment="Center" Value="3"> <RatingControl.Resources> <SolidColorBrush x:Key="RatingControlSelectedForeground" Color="Red" /> <SolidColorBrush x:Key="RatingControlUnselectedForeground" Color="Orange" /> </RatingControl.Resources> </RatingControl> </Border> </Grid>
@Mergifyio backport stable/release/4.1
backport stable/release/4.1
@Mergifyio backport release/stable/4.1
backport release/stable/4.1
BREAKING CHANGE: RatingControl Lightweight Styling keys have changed to align the WinUI resource keys
closes #1349
PR Type
What kind of change does this PR introduce?
Current Behavior
Given the following XAML:
New Behavior