Changing behavior of the Close Button of a RadPane

2 posts, 0 answers
  1. Mario
    Mario avatar
    1 posts
    Member since:
    Dec 2010

    Posted 29 Oct Link to this post

    I like to get the Tool panes in my MVVM docking scenario hidden if the user clicks th close button of the RadPane.

    The default processing seems to close and remove the pane. I cannot get the pane shown again by setting the IsHidden property to false (discussed in some other threads).

    Setting the CanUserClose property of the pane to false hides the close button completely.

    Is there a way to either

    - modify the behavior of the close button (hide the pane instead of closing it)   or

    - put an additional button to the panes header, that lets me exceute my desired operations.

     

    Thanks and Regards

    Mario

  2. Nasko
    Admin
    Nasko avatar
    587 posts

    Posted 01 Nov Link to this post

    Hi Mario,

    Please, check the following article from our documentation that provides detailed information how to put a Button to the Header of the Pane where you could implement your custom and desired functionality:
    http://docs.telerik.com/devtools/wpf/controls/raddocking/how-to/add-buttons-to-the-pane-headers

    Hope this helps.

    Regards,
    Nasko
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top