Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1700
How to add OpenExternal shortcut
posted

Hello,

I want to replace the ToggleMaximized by OpenExternal.

Is is possible to create a button to open an external window with a specific style that I have ?

The aim is to add a new CommandType in TileCommandSource.

Regards

  • 4850
    Verified Answer
    Offline posted

    Hi,

    There are 2 ways to do this:

    1. You could create a Style to re-template the TileHeaderPresenter and replace the maximize button with you own button.
    2. You could wire the TileStateChanging event and when the NewState is Maximized set the Cancel property on the event args to true and do whatever action you like.