This is a migrated thread and some comments may be shown as answers.

RadPane DockState value after docking

1 Answer 142 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Dmitriy
Top achievements
Rank 1
Dmitriy asked on 03 Jan 2014, 07:14 PM
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

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 07 Jan 2014, 01:37 PM
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 >>
Tags
Docking
Asked by
Dmitriy
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or