Keyboard navigation on SplitButton.

Ribbon for WPF Forum

Posted 4 years ago by UI-UX
Version: 19.1.0684
Avatar

Hello,

I am using Actipro SplitButton in my wpf application. How can i focus/open the right hand side (popup menu) of the Split button using only the keyboard?

Code:

<Actipro:SplitButton Focusable="True" DockPanel.Dock="Right"
AutoDisableWhenPopupContentIsDisabled="False" Label="Main"
PopupPlacement="Top">
<Actipro:SplitButton.PopupContent>
<ribbon:Menu>
<Button Content="Sub 1">..
</Button>
<Separator/>
<Button Content="Sub 2">..
</Button>
</ribbon:Menu>
</Actipro:SplitButton.PopupContent>
</Actipro:SplitButton>

Thanks.

[Modified 4 years ago]

Comments (4)

Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

I believe pressing Alt+Down when the SplitButton has focus will show the popup.  That same combination works with ComboBox and other drop-down controls.


Actipro Software Support

Posted 4 years ago by UI-UX
Avatar

Thanks for the reply.

How can I update it with a different combination of keys!

Answer - Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Jon,

You'd have to override the SplitButton.OnKeyDown method with your own logic to use different keys.


Actipro Software Support

Posted 4 years ago by UI-UX
Avatar

Thank you.

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.