How do I disable SpiltButton separately?

Ribbon for WPF Forum

Posted 3 years ago by Sunshine - Appeon
Version: 21.1.3


I am trying to make a backward navigation feature with SpiltButton. It consists of a backward navigation button and a dropdown menu. How can I disable the backward navigation button or dropdown menu separately.

Comments (1)

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

The ribbon:SplitButton control uses its Command property to determine if the button portion is enabled.  The popup portion of the SplitButton can use the PopupCommand property to determine if it is enabled.  The results of the commands' can-executes determine enabled state.

Note that SplitButton.AutoDisableWhenPopupContentIsDisabled may also disable the popup portion when all items on the PopupContent are disabled.

Actipro Software Support

The latest build of this product (v24.1.2) 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.