我使用最新的Extended Wpf Toolkit构建中的TimePicker控件。 我在XAML中设置了tabindex。我的问题是光标永远不会出现在这个控制上:(
这是我的xaml篇:
<Grid Margin="0,0,0,0" VerticalAlignment="Center" Height="28">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="147*"/>
<ColumnDefinition Width="162*"/>
<ColumnDefinition Width="191*"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Content="Date" HorizontalAlignment="Left" Margin="0,1" VerticalAlignment="Center" Height="26" Width="35"/>
<DatePicker x:Name="DateTimePicker_Date" TabIndex="3" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Center" Height="22" Padding="2,1" Margin="0,3" Width="149" />
<xctk:TimePicker Grid.Column="2" x:Name="TimePicker_Heure" TabIndex="4" VerticalAlignment="Center" Height="20" Margin="102,4,10,4"/>
<Label Grid.Column="2" Content="Heure" HorizontalAlignment="Left" Margin="43,1,0,1" VerticalAlignment="Center" Height="26" Width="44"/>
</Grid>
请问您有什么想法吗?
非常感谢:)
致以最诚挚的问候,
Nixeus