RadPane DockState value after docking

2 posts, 0 answers
  1. Dmitriy
    Dmitriy avatar
    1 posts
    Member since:
    Apr 2012

    Posted 03 Jan 2014 Link to this post

    I am trying to determine DockState of the RadPane after it is been docked. Is there an such event? I have tried to use SizeChanged for pane and PaneStateChange event for RadDocking as below (rpInfo is RadPane):

            private void rpInfo_SizeChanged( object sender, SizeChangedEventArgs e )
            {
                var dockState = (DockState)rpInfo.GetValue( RadDocking.DockStateProperty );
            }

           private void dockMain_PaneStateChange( object sender, Telerik.Windows.RadRoutedEventArgs e )
           {
                var dockState = (DockState)rpInfo.GetValue( RadDocking.DockStateProperty );
           }
    In both cases, no matter where the pane is docked the dockState is DockedLeft, which is InitialPosition.

    Thanks,

    Dmitriy Mikhelzon
  2. Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 07 Jan 2014 Link to this post

    Hi Dmitriy,

    Unfortunately in the current implementation of the Docking control it is not possible to determine the position of a recently docked Pane. However I logged that in our feedback portal as a feature request, so you can easily track its status on the following link:
    http://feedback.telerik.com/Project/143/Feedback/Details/98079-add-property-which-returns-the-docking-position-of-a-docked-pane

    Hope this helps.

    Regards,
    Kalin
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top