I wish to implement custom behavior on a form with a ribbon bar when the
form is minimised.
It's easy enough to trap the events of the minimise , maximise and close buttons -
However , I am unable to replace these events with those of my own .
In other words I want to be able to implement behavior to the minimise
buttons' click event and stop the minimise button from doing anything else
by default.
I initially looked at the routedeventbehavior class and related classes but cannot
find any code examples on how to use these correctly.
form is minimised.
It's easy enough to trap the events of the minimise , maximise and close buttons -
However , I am unable to replace these events with those of my own .
In other words I want to be able to implement behavior to the minimise
buttons' click event and stop the minimise button from doing anything else
by default.
I initially looked at the routedeventbehavior class and related classes but cannot
find any code examples on how to use these correctly.