Skip to content

Commit

Permalink
Update control gallery sample
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelkang committed Nov 15, 2022
1 parent 2f8ad79 commit 62f3ae4
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,22 @@

</RadioButton>

<Label FontSize="Small" Text="The RadioButton below is the same as above, but also has a Semantic Description set on it for better accessibility."/>

<RadioButton GroupName="test"
SemanticProperties.Description="{Binding Source={x:Reference embeddedButton}, Path=Text}"
TextColor="Green"
TextTransform="Uppercase"
FontAttributes="Bold"
FontSize="12"
FontFamily="Arial">

<RadioButton.Content>
<Button x:Name="embeddedButton" Text="It's a button inside a button." TextColor="Green"></Button>
</RadioButton.Content>

</RadioButton>

<Label FontSize="Small" Text="A Content View which already has these properties set/bound should ignore the RadioButton properties."/>

<RadioButton GroupName="test"
Expand Down

0 comments on commit 62f3ae4

Please sign in to comment.