Controlling Acyipro buttons

Ribbon for WPF Forum

Posted 17 years ago by sam
Avatar
How can we control actipro buttons??
Earlier i have used certain key strokes for each of the button to control them programatically but its causing some error, Now I want to know if there is some other way through which these actipro buttons can be controlled/accessed programatically.

Thanks

Comments (4)

Posted 17 years ago by sam
Avatar
am i clear enough?

I want to call an event handler externally without using keystrokes, So is there any other static property using which actipro controlled button handler can be called??
Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Sam,

If you are using the WPF command model (like we do in our sample) all you would have to do is call Execute your command and perhaps target the Ribbon control to ensure it's routed properly to the command's execute event handler.


Actipro Software Support

Posted 17 years ago by sam
Avatar
Thank you Actipro Software Support for your kind reply to my query.

Actually I'm not using WPF command model.

Is there ny other way?
Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Each ControlBase (which buttons inherit from) has a Click event that can be raised from a protected RaiseClickEvent method. If we made that method public instead of protected, would that be what you need?

Feel free to suggest other object model enhancements if you have any in mind.


Actipro Software Support

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.