TItleBarButton used in ToggleMode

Docking/MDI for WPF Forum

Posted 8 years ago by Bret Naughton
Version: 11.1.0545
Avatar
Hi,

I am successfully using TitleBarButtons to populate my window header. Is there a mode I can set within the button that allows me to have this in a toggle type mode?

Thanks
Bret

Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Bret,

If you are referring to a ToggleButton, then unfortunately no. TitleBarButton derives from our PopupButton, not ToggleButton, so it does not have an IsChecked type property.

You could certainly replicate the look of a toggle button, much like we do with the auto-hide button. In the Style we change the content based on the container's current state, so it gives the appearance of being toggled.


Actipro Software Support

The latest build of this product (v2018.1 build 0675) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.