Browse Source

DropDownButton: now allows you to tab into the control. Pressing space will open the drop down.

pull/1645/head
brianlagunas_cp 14 years ago
parent
commit
65891e83c0
  1. 2
      ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/DropDownButton/Themes/Generic.xaml

2
ExtendedWPFToolkitSolution/Src/WPFToolkit.Extended/DropDownButton/Themes/Generic.xaml

@ -32,7 +32,7 @@
<Setter.Value>
<ControlTemplate TargetType="{x:Type local:DropDownButton}">
<Grid x:Name="MainGrid" SnapsToDevicePixels="True">
<ToggleButton x:Name="PART_DropDownButton" Grid.Column="1" IsTabStop="False"
<ToggleButton x:Name="PART_DropDownButton" Grid.Column="1"
IsChecked="{Binding IsOpen, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
IsHitTestVisible="{Binding IsOpen, RelativeSource={RelativeSource TemplatedParent}, Converter={StaticResource InverseBoolConverter}}" >
<ToggleButton.Template>

Loading…
Cancel
Save