|
8 | 8 | DataContext="{Binding InputElementDemo, Source={StaticResource Locator}}"> |
9 | 9 | <hc:TransitioningContentControl> |
10 | 10 | <hc:ScrollViewer IsInertiaEnabled="True"> |
11 | | - <hc:UniformSpacingPanel Spacing="32" Margin="32" ChildWrapping="Wrap"> |
| 11 | + <hc:UniformSpacingPanel Spacing="32" |
| 12 | + Margin="32" |
| 13 | + ChildWrapping="Wrap"> |
12 | 14 | <StackPanel> |
13 | | - <hc:TextBox hc:InfoElement.ShowClearButton="True" Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/> |
14 | | - <hc:TextBox Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" Margin="0,16,0,0" IsEnabled="False"/> |
| 15 | + <hc:TextBox hc:InfoElement.ShowClearButton="True" |
| 16 | + Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" /> |
| 17 | + <hc:TextBox Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" |
| 18 | + Margin="0,16,0,0" |
| 19 | + IsEnabled="False" /> |
15 | 20 |
|
16 | | - <hc:TextBox hc:InfoElement.ShowClearButton="True" hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr1}}" Margin="0,32,0,0" Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/> |
17 | | - <hc:TextBox hc:InfoElement.ShowClearButton="True" hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr1}}" Margin="0,16,0,0" Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" IsEnabled="False"/> |
18 | | - <hc:TextBox hc:InfoElement.Placeholder="{ex:Lang Key={x:Static langs:LangKeys.PlsEnterEmail}}" hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr2}}" hc:InfoElement.Necessary="True" Margin="0,16,0,0"> |
| 21 | + <hc:TextBox hc:InfoElement.ShowClearButton="True" |
| 22 | + hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr1}}" |
| 23 | + Margin="0,32,0,0" |
| 24 | + Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" /> |
| 25 | + <hc:TextBox hc:InfoElement.ShowClearButton="True" |
| 26 | + hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr1}}" |
| 27 | + Margin="0,16,0,0" |
| 28 | + Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" |
| 29 | + IsEnabled="False" /> |
| 30 | + <hc:TextBox hc:InfoElement.Placeholder="{ex:Lang Key={x:Static langs:LangKeys.PlsEnterEmail}}" |
| 31 | + hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr2}}" |
| 32 | + hc:InfoElement.Necessary="True" |
| 33 | + Margin="0,16,0,0"> |
19 | 34 | <hc:TextBox.Text> |
20 | | - <Binding Path="Email1" UpdateSourceTrigger="PropertyChanged"> |
| 35 | + <Binding Path="Email1" |
| 36 | + UpdateSourceTrigger="PropertyChanged"> |
21 | 37 | <Binding.ValidationRules> |
22 | | - <hc:RegexRule Type="Mail"/> |
| 38 | + <hc:NoBlankTextRule /> |
| 39 | + <hc:RegexRule Type="Mail" /> |
| 40 | + </Binding.ValidationRules> |
| 41 | + </Binding> |
| 42 | + </hc:TextBox.Text> |
| 43 | + </hc:TextBox> |
| 44 | + <hc:TextBox Width="380" |
| 45 | + hc:InfoElement.TitleWidth="140" |
| 46 | + hc:InfoElement.TitlePlacement="Left" |
| 47 | + hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr3}}" |
| 48 | + Margin="0,32,0,0" |
| 49 | + Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" /> |
| 50 | + <hc:TextBox hc:InfoElement.ShowClearButton="True" |
| 51 | + Width="380" |
| 52 | + hc:InfoElement.TitleWidth="140" |
| 53 | + hc:InfoElement.Placeholder="{ex:Lang Key={x:Static langs:LangKeys.PlsEnterContent}}" |
| 54 | + hc:InfoElement.TitlePlacement="Left" |
| 55 | + hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr3}}" |
| 56 | + hc:InfoElement.Necessary="True" |
| 57 | + Margin="0,16,0,0"> |
| 58 | + <hc:TextBox.Text> |
| 59 | + <Binding Path="Text1" |
| 60 | + UpdateSourceTrigger="PropertyChanged"> |
| 61 | + <Binding.ValidationRules> |
| 62 | + <hc:NoBlankTextRule /> |
23 | 63 | </Binding.ValidationRules> |
24 | 64 | </Binding> |
25 | 65 | </hc:TextBox.Text> |
26 | 66 | </hc:TextBox> |
27 | | - <hc:TextBox Width="380" hc:InfoElement.TitleWidth="140" hc:InfoElement.TitlePlacement="Left" hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr3}}" Margin="0,32,0,0" Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}"/> |
28 | | - <hc:TextBox hc:InfoElement.ShowClearButton="True" Width="380" hc:InfoElement.TitleWidth="140" hc:InfoElement.Placeholder="{ex:Lang Key={x:Static langs:LangKeys.PlsEnterContent}}" hc:InfoElement.TitlePlacement="Left" hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr3}}" hc:InfoElement.Necessary="True" Margin="0,16,0,0"/> |
29 | 67 | </StackPanel> |
30 | 68 | <StackPanel> |
31 | | - <hc:TextBox hc:InfoElement.ShowClearButton="True" Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" Style="{StaticResource TextBoxPlus.Small}"/> |
32 | | - <hc:TextBox Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" Margin="0,16,0,0" IsEnabled="False" Style="{StaticResource TextBoxPlus.Small}"/> |
| 69 | + <hc:TextBox hc:InfoElement.ShowClearButton="True" |
| 70 | + Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" |
| 71 | + Style="{StaticResource TextBoxPlus.Small}" /> |
| 72 | + <hc:TextBox Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" |
| 73 | + Margin="0,16,0,0" |
| 74 | + IsEnabled="False" |
| 75 | + Style="{StaticResource TextBoxPlus.Small}" /> |
33 | 76 |
|
34 | | - <hc:TextBox hc:InfoElement.ShowClearButton="True" hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr1}}" Margin="0,32,0,0" Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" Style="{StaticResource TextBoxPlus.Small}"/> |
35 | | - <hc:TextBox hc:InfoElement.ShowClearButton="True" hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr1}}" Margin="0,16,0,0" Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" Style="{StaticResource TextBoxPlus.Small}" IsEnabled="False"/> |
36 | | - <hc:TextBox hc:InfoElement.Placeholder="{ex:Lang Key={x:Static langs:LangKeys.PlsEnterEmail}}" hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr2}}" hc:InfoElement.Necessary="True" Margin="0,16,0,0" Style="{StaticResource TextBoxPlus.Small}"> |
| 77 | + <hc:TextBox hc:InfoElement.ShowClearButton="True" |
| 78 | + hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr1}}" |
| 79 | + Margin="0,32,0,0" |
| 80 | + Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" |
| 81 | + Style="{StaticResource TextBoxPlus.Small}" /> |
| 82 | + <hc:TextBox hc:InfoElement.ShowClearButton="True" |
| 83 | + hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr1}}" |
| 84 | + Margin="0,16,0,0" |
| 85 | + Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" |
| 86 | + Style="{StaticResource TextBoxPlus.Small}" |
| 87 | + IsEnabled="False" /> |
| 88 | + <hc:TextBox hc:InfoElement.Placeholder="{ex:Lang Key={x:Static langs:LangKeys.PlsEnterEmail}}" |
| 89 | + hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr2}}" |
| 90 | + hc:InfoElement.Necessary="True" |
| 91 | + Margin="0,16,0,0" |
| 92 | + Style="{StaticResource TextBoxPlus.Small}"> |
| 93 | + <hc:TextBox.Text> |
| 94 | + <Binding Path="Email2" |
| 95 | + UpdateSourceTrigger="PropertyChanged"> |
| 96 | + <Binding.ValidationRules> |
| 97 | + <hc:NoBlankTextRule /> |
| 98 | + <hc:RegexRule Type="Mail" /> |
| 99 | + </Binding.ValidationRules> |
| 100 | + </Binding> |
| 101 | + </hc:TextBox.Text> |
| 102 | + </hc:TextBox> |
| 103 | + <hc:TextBox Width="380" |
| 104 | + hc:InfoElement.TitleWidth="140" |
| 105 | + hc:InfoElement.TitlePlacement="Left" |
| 106 | + hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr3}}" |
| 107 | + Margin="0,32,0,0" |
| 108 | + Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" |
| 109 | + Style="{StaticResource TextBoxPlus.Small}" /> |
| 110 | + <hc:TextBox hc:InfoElement.ShowClearButton="True" |
| 111 | + Width="380" |
| 112 | + hc:InfoElement.TitleWidth="140" |
| 113 | + hc:InfoElement.Placeholder="{ex:Lang Key={x:Static langs:LangKeys.PlsEnterContent}}" |
| 114 | + hc:InfoElement.TitlePlacement="Left" |
| 115 | + hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr3}}" |
| 116 | + hc:InfoElement.Necessary="True" |
| 117 | + Margin="0,16,0,0" |
| 118 | + Style="{StaticResource TextBoxPlus.Small}"> |
37 | 119 | <hc:TextBox.Text> |
38 | | - <Binding Path="Email2" UpdateSourceTrigger="PropertyChanged"> |
| 120 | + <Binding Path="Text2" |
| 121 | + UpdateSourceTrigger="PropertyChanged"> |
39 | 122 | <Binding.ValidationRules> |
40 | | - <hc:RegexRule Type="Mail"/> |
| 123 | + <hc:NoBlankTextRule /> |
41 | 124 | </Binding.ValidationRules> |
42 | 125 | </Binding> |
43 | 126 | </hc:TextBox.Text> |
44 | 127 | </hc:TextBox> |
45 | | - <hc:TextBox Width="380" hc:InfoElement.TitleWidth="140" hc:InfoElement.TitlePlacement="Left" hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr3}}" Margin="0,32,0,0" Text="{ex:Lang Key={x:Static langs:LangKeys.ContentDemoStr}}" Style="{StaticResource TextBoxPlus.Small}"/> |
46 | | - <hc:TextBox hc:InfoElement.ShowClearButton="True" Width="380" hc:InfoElement.TitleWidth="140" hc:InfoElement.Placeholder="{ex:Lang Key={x:Static langs:LangKeys.PlsEnterContent}}" hc:InfoElement.TitlePlacement="Left" hc:InfoElement.Title="{ex:Lang Key={x:Static langs:LangKeys.TitleDemoStr3}}" hc:InfoElement.Necessary="True" Margin="0,16,0,0" Style="{StaticResource TextBoxPlus.Small}"/> |
47 | 128 | </StackPanel> |
48 | 129 | </hc:UniformSpacingPanel> |
49 | 130 | </hc:ScrollViewer> |
|
0 commit comments