Disable a Pane

4 posts, 0 answers
  1. Eric
    Eric avatar
    57 posts
    Member since:
    Aug 2012

    Posted 12 Oct 2014 Link to this post

    I want to disable a rad pane that is tabbed in a docked layout.

    I want to see it, but not allow the user to select it. Like any other windows control that is disabled.
  2. Nasko
    Admin
    Nasko avatar
    587 posts

    Posted 14 Oct 2014 Link to this post

    Hello Eric,

    In order to disable a specific RadPane you could set the 'IsEnabled' property to false. Please see the provided code snippet:

    <telerik:RadPane Header="Document " IsEnabled="False">

    However, if that is not what you're looking for could you please provide us more information about your scenario and the functionality you're trying to achieve.

    I'm looking forward to hearing from you.

    Regards,
    Nasko
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Eric
    Eric avatar
    57 posts
    Member since:
    Aug 2012

    Posted 14 Oct 2014 Link to this post

    AbstractionPane.IsEnabled = false;

    Where AbstractionPane is a direct reference to the pane in the view.

    This doesn't appear to do anything. I would expect the tab of the pane to be grayed out but it isn't. The behavior does not change at all which is why I asked the question in the first place.
  5. Nasko
    Admin
    Nasko avatar
    587 posts

    Posted 15 Oct 2014 Link to this post

    Hello Eric,

    Could you please provide us more information about how exactly the Docking is defined (a code snippet will be of great help)? Also, are you using PanesSource or static Panes?

    I'm looking forward to hearing from you.

    Regards,
    Nasko
    Telerik 

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top