How do I disable SpiltButton separately?

Ribbon for WPF Forum

The latest build of this product (v21.1.3) was released 3 months ago, which was before this thread was created.
Posted 27 days 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 27 days 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

Add Comment

Please log in to a validated account to post comments.