Hi Telerik,
This might be an obvious question but I'd like to ask this anyway. I have two RadDocumentPanes, I'd like to close the inactive pane (that's pane B, see Sample.png) by clicking the close button. But the pane being closed is the selected/active pane (that's pane A).
My Code:
Thanks,
Clarian
This might be an obvious question but I'd like to ask this anyway. I have two RadDocumentPanes, I'd like to close the inactive pane (that's pane B, see Sample.png) by clicking the close button. But the pane being closed is the selected/active pane (that's pane A).
My Code:
<telerik:RadButton x:Name="HeaderCloseButton"How can I pass the pane who owns the close button as parameter, and not the active/selected pane?
Grid.Column="1"
Command="telerikDock:RadDockingCommands.Close"
CommandParameter="{Binding SelectedPane, RelativeSource={RelativeSource TemplatedParent}}"
Style="{StaticResource PaneHeader_CloseButtonStyle}" />
Thanks,
Clarian