How do I disable SpiltButton separately?

Ribbon for WPF Forum

Posted 2 years ago by Sunshine - Appeon
Version: 21.1.3
Avatar

Hi!

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 2 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

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.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.