IsDefault and IsCancel

Ribbon for WPF Forum

Posted 15 years ago by Bjørnar Sundsbø - Norway
Version: 4.5.0487
Avatar
Hi

Do you have an easy way of setting IsDefault or IsCancel on a ActiproSoftware.Windows.Controls.Ribbon.Controls.Button from XAML? ButtonBase does not contain these properties, and it does not derive from System.Windows.Controls.ButtonBase.

I guess I could make an attached property, but I feel this should be out of the box.

/B


Bjørnar Sundsbø

Comments (2)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Bjørnar,

Sorry no those aren't available by default. If you are using buttons outside of the ribbon you can use the native WPF button styles we provide instead of using

our ribbon-oriented button implementations. That way you can use the native WPF Button but still have the ribbon look to it.


Actipro Software Support

Posted 15 years ago by Bjørnar Sundsbø - Norway
Avatar
Thank you. I'll do that if the need arises. I ended up assigning InputBindings bound to the command instead.

/B


Bjørnar Sundsbø

The latest build of this product (v24.1.2) was released 0 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.