Hello!
I'm trying to detect when a pane (radPane1) is docked into a PaneGroup with another pane (radPane2). I thought I could do this:
...but it seems the PaneGroup is not set at this point in time, and hence that comparison fails. How can I do this?
I'm trying to detect when a pane (radPane1) is docked into a PaneGroup with another pane (radPane2). I thought I could do this:
private void radDocking1_PaneStateChange(object sender, Telerik.Windows.RadRoutedEventArgs e) { var somePane = e.OriginalSource as RadPane; if (somePane == radPane1 && !somePane.IsFloating && radPane1.PaneGroup == radPane2.PaneGroup) HandleDockEvent(); }
...but it seems the PaneGroup is not set at this point in time, and hence that comparison fails. How can I do this?