File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Microsoft.Toolkit.Uwp.SampleApp/SamplePages/StringExtensions Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2424 <RowDefinition Height =" *" />
2525 </Grid .RowDefinitions>
2626 <TextBlock HorizontalAlignment =" Right" Padding =" 5,0" Grid.Column=" 0" Grid.Row=" 0" >IsValidEmail</TextBlock >
27- <TextBlock Grid.Column=" 1" Grid.Row=" 0" x : Name =" IsValidEmailResult" Foreground = " Blue " />
27+ <TextBlock Grid.Column=" 1" Grid.Row=" 0" x : Name =" IsValidEmailResult" FontStyle = " Italic " />
2828
2929 <TextBlock HorizontalAlignment =" Right" Padding =" 5,0" Grid.Column=" 0" Grid.Row=" 1" >IsValidNumber</TextBlock >
30- <TextBlock Grid.Column=" 1" Grid.Row=" 1" x : Name =" IsValidNumberResult" Foreground = " Blue " />
30+ <TextBlock Grid.Column=" 1" Grid.Row=" 1" x : Name =" IsValidNumberResult" FontStyle = " Italic " />
3131
3232 <TextBlock HorizontalAlignment =" Right" Padding =" 5,0" Grid.Column=" 0" Grid.Row=" 2" >IsValidDecimal</TextBlock >
33- <TextBlock Grid.Column=" 1" Grid.Row=" 2" x : Name =" IsValidDecimalResult" Foreground = " Blue " />
33+ <TextBlock Grid.Column=" 1" Grid.Row=" 2" x : Name =" IsValidDecimalResult" FontStyle = " Italic " />
3434
3535 <TextBlock HorizontalAlignment =" Right" Padding =" 5,0" Grid.Column=" 0" Grid.Row=" 3" >IsValidString</TextBlock >
36- <TextBlock Grid.Column=" 1" Grid.Row=" 3" x : Name =" IsValidStringResult" Foreground = " Blue " />
36+ <TextBlock Grid.Column=" 1" Grid.Row=" 3" x : Name =" IsValidStringResult" FontStyle = " Italic " />
3737
3838 <TextBlock HorizontalAlignment =" Right" Padding =" 5,0" Grid.Column=" 0" Grid.Row=" 4" >IsValidPhoneNumber</TextBlock >
39- <TextBlock Grid.Column=" 1" Grid.Row=" 4" x : Name =" IsValidPhoneNumberResult" Foreground = " Blue " />
39+ <TextBlock Grid.Column=" 1" Grid.Row=" 4" x : Name =" IsValidPhoneNumberResult" FontStyle = " Italic " />
4040 </Grid >
4141 </StackPanel >
4242 </Grid >
Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ private void ValidateCurrentText()
3535 IsValidDecimalResult . FontWeight = InputTextBox . Text . IsDecimal ( ) ? FontWeights . Bold : FontWeights . Normal ;
3636
3737 IsValidStringResult . Text = InputTextBox . Text . IsCharacterString ( ) . ToString ( ) ;
38- IsValidPhoneNumberResult . FontWeight = InputTextBox . Text . IsCharacterString ( ) ? FontWeights . Bold : FontWeights . Normal ;
38+ IsValidStringResult . FontWeight = InputTextBox . Text . IsCharacterString ( ) ? FontWeights . Bold : FontWeights . Normal ;
3939
4040 IsValidPhoneNumberResult . Text = InputTextBox . Text . IsPhoneNumber ( ) . ToString ( ) ;
4141 IsValidPhoneNumberResult . FontWeight = InputTextBox . Text . IsPhoneNumber ( ) ? FontWeights . Bold : FontWeights . Normal ;
4242 }
4343 }
44- }
44+ }
You can’t perform that action at this time.
0 commit comments