| Subject: Check a checkbox with the space bar |
| Group: microsoft.public.windows.developer.winfx.avalon |
| Date: 3/31/2008 3:42:01 AM |
| From: =?Utf-8?B?UkY=?= [Email Address Protection] |
Hi, i have the following XAML and can't seem to figure out how to make the checkbox react to the space bar. <ListView Height="132" Margin="35,0,20,48" Name="m_listViewEvents" VerticalAlignment="Bottom"> <ListView.ItemTemplate> <HierarchicalDataTemplate ItemsSource="{Binding Path=Items}"> <StackPanel Orientation="Horizontal"> <CheckBox IsChecked="{Binding Path=IsSelected}" Margin="1,1,4,1"/> <TextBlock Text="{Binding Path=Text}" Margin="1,1,4,1"/> </StackPanel> </HierarchicalDataTemplate> </ListView.ItemTemplate> </ListView> |
| Back |