Removing Close button from RaftingWindow

Docking/MDI for WPF Forum

Posted 10 years ago by Bret Naughton
Version: 14.2.0610

Hi, i currently allow the user to float windows and dock these together. What I would like to do is to remove the close button next to the minimise/maximise button for the rafting window that contains the current toolwindows (I have close buttons already in the header for each toolwindow so that the use has to deliberately close down each toolwindow).

Is this possible programatically or do I have to amend the raftingwindow definition?


Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Bret,

For that, I don't believe there's a way to programmatically remove the close button.  You'd need to clone and retemplate the RaftingWindow control's template to achieve that.  It nests a WindowControl inside of the template that you would want to set HasCloseButton = false on.

Actipro Software Support

The latest build of this product (v24.1.2) 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.