|
61 | 61 | </Viewbox> |
62 | 62 | <TextBox Grid.Row="0" Grid.Column="1" |
63 | 63 | x:Name="NameTextBox" |
64 | | - wpf:TextField.Hint="Name"> |
| 64 | + wpf:TextFieldAssist.Hint="Name"> |
65 | 65 | <TextBox.Text> |
66 | 66 | <Binding Path="Name" UpdateSourceTrigger="PropertyChanged"> |
67 | 67 | <Binding.ValidationRules> |
|
71 | 71 | </TextBox.Text> |
72 | 72 | </TextBox> |
73 | 73 | <TextBlock Grid.Row="0" Grid.Column="2" VerticalAlignment="Center" Margin="16 0 8 0">OS</TextBlock> |
74 | | - <ComboBox Grid.Row="0" Grid.Column="3" wpf:TextField.Hint="OS"> |
| 74 | + <ComboBox Grid.Row="0" Grid.Column="3" wpf:TextFieldAssist.Hint="OS"> |
75 | 75 | <ComboBoxItem>Andoid</ComboBoxItem> |
76 | 76 | <ComboBoxItem>iOS</ComboBoxItem> |
77 | 77 | <ComboBoxItem>Linux</ComboBoxItem> |
78 | 78 | <ComboBoxItem>Windows</ComboBoxItem> |
79 | 79 | </ComboBox> |
80 | 80 | <TextBox Grid.Row="0" Grid.RowSpan="3" Grid.Column="4" TextWrapping="Wrap" VerticalAlignment="Stretch" Margin="16 0 0 0" |
81 | | - wpf:TextField.Hint="Multiline text">Multiline. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</TextBox> |
| 81 | + wpf:TextFieldAssist.Hint="Multiline text">Multiline. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</TextBox> |
82 | 82 | <Viewbox Grid.Row="1" Grid.Column="0"> |
83 | 83 | <Canvas Width="24" Height="24"> |
84 | 84 | <Path Data="M6.62,10.79C8.06,13.62 10.38,15.94 13.21,17.38L15.41,15.18C15.69,14.9 16.08,14.82 16.43,14.93C17.55,15.3 18.75,15.5 20,15.5A1,1 0 0,1 21,16.5V20A1,1 0 0,1 20,21A17,17 0 0,1 3,4A1,1 0 0,1 4,3H7.5A1,1 0 0,1 8.5,4C8.5,5.25 8.7,6.45 9.07,7.57C9.18,7.92 9.1,8.31 8.82,8.59L6.62,10.79Z" |
|
87 | 87 | </Viewbox> |
88 | 88 | <TextBox Grid.Row="1" Grid.Column="1" |
89 | 89 | x:Name="PhoneTextBox" |
90 | | - wpf:TextField.Hint="Phone" |
| 90 | + wpf:TextFieldAssist.Hint="Phone" |
91 | 91 | /> |
92 | 92 | <TextBlock Grid.Row="1" Grid.Column="2" VerticalAlignment="Center" Margin="16 0 8 0">Fruit</TextBlock> |
93 | | - <ComboBox Grid.Row="1" Grid.Column="3" wpf:TextField.Hint="Search" IsEditable="True" wpf:TextField.HintOpacity=".5"> |
| 93 | + <ComboBox Grid.Row="1" Grid.Column="3" wpf:TextFieldAssist.Hint="Search" IsEditable="True" wpf:TextFieldAssist.HintOpacity=".5"> |
94 | 94 | <ComboBoxItem>Apple</ComboBoxItem> |
95 | 95 | <ComboBoxItem>Banana</ComboBoxItem> |
96 | 96 | <ComboBoxItem>Pear</ComboBoxItem> |
|
104 | 104 | </Viewbox> |
105 | 105 | <TextBox Grid.Row="2" Grid.Column="1" |
106 | 106 | x:Name="CommentTextBox" |
107 | | - wpf:TextField.Hint="Comment" |
| 107 | + wpf:TextFieldAssist.Hint="Comment" |
108 | 108 | /> |
109 | 109 | <Viewbox Grid.Row="2" Grid.Column="2"> |
110 | 110 | <Canvas Width="24" Height="24"> |
|
114 | 114 | </Viewbox> |
115 | 115 | <PasswordBox Grid.Row="2" Grid.Column="3" |
116 | 116 | x:Name="PasswordBox" |
117 | | - wpf:TextField.Hint="Password" /> |
| 117 | + wpf:TextFieldAssist.Hint="Password" /> |
118 | 118 |
|
119 | | - <TextBox Grid.Row="3" Grid.Column="1" wpf:TextField.Hint="Floating Hint" Style="{StaticResource MaterialDesignFloatingHintTextBox}" |
| 119 | + <TextBox Grid.Row="3" Grid.Column="1" wpf:TextFieldAssist.Hint="Floating Hint" Style="{StaticResource MaterialDesignFloatingHintTextBox}" |
120 | 120 | Margin="0 8 0 8"/> |
121 | | - <ComboBox Grid.Row="3" Grid.Column="3" wpf:TextField.Hint="OS" Style="{StaticResource MaterialDesignFloatingHintComboBox}" |
| 121 | + <ComboBox Grid.Row="3" Grid.Column="3" wpf:TextFieldAssist.Hint="OS" Style="{StaticResource MaterialDesignFloatingHintComboBox}" |
122 | 122 | Margin="0 8 0 8"> |
123 | 123 | <ComboBoxItem>Andoid</ComboBoxItem> |
124 | 124 | <ComboBoxItem>iOS</ComboBoxItem> |
125 | 125 | <ComboBoxItem>Linux</ComboBoxItem> |
126 | 126 | <ComboBoxItem>Windows</ComboBoxItem> |
127 | 127 | </ComboBox> |
128 | 128 |
|
129 | | - <TextBox Grid.Row="4" Grid.Column="1" wpf:TextField.Hint="Floating Hint" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Text="Good stuff" |
| 129 | + <TextBox Grid.Row="4" Grid.Column="1" wpf:TextFieldAssist.Hint="Floating Hint" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Text="Good stuff" |
130 | 130 | Margin="0 8 0 8"/> |
131 | | - <ComboBox Grid.Row="4" Grid.Column="3" wpf:TextField.Hint="Search" IsEditable="True" Style="{StaticResource MaterialDesignFloatingHintComboBox}" |
| 131 | + <ComboBox Grid.Row="4" Grid.Column="3" wpf:TextFieldAssist.Hint="Search" IsEditable="True" Style="{StaticResource MaterialDesignFloatingHintComboBox}" |
132 | 132 | Margin="0 8 0 8"> |
133 | 133 | <ComboBoxItem>Apple</ComboBoxItem> |
134 | 134 | <ComboBoxItem>Banana</ComboBoxItem> |
|
137 | 137 | </ComboBox> |
138 | 138 |
|
139 | 139 | <DatePicker Grid.Row="5" Grid.Column="1" Width="100" HorizontalAlignment="Left" Margin="0 8 0 8" |
140 | | - wpf:TextField.Hint="Pick Date"/> |
| 140 | + wpf:TextFieldAssist.Hint="Pick Date"/> |
141 | 141 | <wpf:TimePicker Grid.Row="5" Grid.Column="3" VerticalAlignment="Top" Width="90" HorizontalAlignment="Left" Margin="0 8 0 8" /> |
142 | 142 | <wpf:TimePicker Grid.Row="5" Grid.Column="4" x:Name="PresetTimePicker" VerticalAlignment="Top" Width="90" HorizontalAlignment="Left" Margin="0 8 0 8" |
143 | | - wpf:TextField.Hint="Custom hint" /> |
| 143 | + wpf:TextFieldAssist.Hint="Custom hint" /> |
144 | 144 | <Slider Grid.Row="6" Grid.Column="1" TickFrequency="5" Orientation="Horizontal" Minimum="1" Maximum="50" Value="25" /> |
145 | 145 | <StackPanel Orientation="Horizontal" Grid.Row="6" Grid.Column="3" Grid.RowSpan="3" > |
146 | 146 | <Slider TickFrequency="5" TickPlacement="BottomRight" Orientation="Vertical" Minimum="1" Maximum="50" /> |
|
0 commit comments