Skip to content

Commit

Permalink
Update TextBoxPage.xaml to fix color contrast ratio (microsoft#868)
Browse files Browse the repository at this point in the history
* Update TextBoxPage.xaml

* Update TextBoxPage.xaml
  • Loading branch information
gregwoo-microsoft authored Feb 14, 2022
1 parent dfa35dc commit b4f8c16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions XamlControlsGallery/ControlPages/TextBoxPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
</local:ControlExample>
<local:ControlExample x:Name="Example3" HeaderText="A read-only TextBox with various properties set.">
<TextBox Text="I am super excited to be here!" IsReadOnly="True" FontFamily="Arial" FontSize="24"
FontStyle="Italic" CharacterSpacing="200" Foreground="CornflowerBlue"
FontStyle="Italic" CharacterSpacing="200" Foreground="#5178BE"
AutomationProperties.Name="customized TextBox"/>
<local:ControlExample.Xaml>
<x:String xml:space="preserve">
&lt;TextBox Text="I am super excited to be here!"
AutomationProperties.Name="customized TextBox" IsReadOnly="True"
FontFamily="Arial" FontSize="24" FontStyle="Italic"
CharacterSpacing="200" Foreground="CornflowerBlue" /&gt;
CharacterSpacing="200" Foreground="#5178BE" /&gt;
</x:String>
</local:ControlExample.Xaml>
</local:ControlExample>
Expand Down

0 comments on commit b4f8c16

Please sign in to comment.