System: .NET 3.5, Windows Vista, 64-bit
Pressing Alt+D causes a click event on the standard button.
Pressing Alt+T does nothing on the Actipro SplitButton. I would expect, at the very least, that (keyboard) focus would be given to the split so space/down could be pressed to open the popup. I noticed that even when keyboard is on the splitbutton down/space/enter don't do anything useful. As far as I can tell there's no way to open the SplitButton by keyboard. Is this true?
public partial class Window1 : Window
{
public Window1()
{
InitializeComponent();
//AccessKeyManager.Register("T", Button);
}
private void Button_Click(object sender, ActiproSoftware.Windows.Controls.Ribbon.Controls.ExecuteRoutedEventArgs e)
{
Console.WriteLine("Actipro Button Click");
}
private void StandardButton_Click(object sender, RoutedEventArgs e)
{
Console.WriteLine("Standard Button Click");
}
}
<Window x:Class="WpfApplication13.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300"
xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon">
<StackPanel>
<Label Content="Go to Bu_tton" Target="{Binding ElementName=Button}"/>
<ribbon:SplitButton Name="Button" Click="Button_Click" Label="Font Color"/>
<Label Content="Standar_d Button" Target="{Binding ElementName=StandardButton}"/>
<Button Name="StandardButton" Click="StandardButton_Click" Content="Standard Button"/>
<Label Content="Go to T_extBox" Target="{Binding ElementName=TextBox}"/>
<TextBox Name="TextBox"/>
</StackPanel>
</Window>
Pressing Alt+T does nothing on the Actipro SplitButton. I would expect, at the very least, that (keyboard) focus would be given to the split so space/down could be pressed to open the popup. I noticed that even when keyboard is on the splitbutton down/space/enter don't do anything useful. As far as I can tell there's no way to open the SplitButton by keyboard. Is this true?