Hi,
I am adding radpane dynamically into radpanegroup.
<telerik:RadSplitContainer AllowDrop="True" x:Name="radSplitContainer" Background="Transparent" Width="{Binding Source={StaticResource TrendsRadPaneWidth}, Converter={StaticResource AppConverter}}">
<telerik:RadPaneGroup x:Name="radPaneGroup2" Background="Transparent" PreviewSelectionChanged="radPaneGroup_PreviewSelectionChanged_1">
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
code -
Dim pane1 As New RadPane()
pane1.Header = window.InputTextBlock.Text
Dim userControl As New RadPaneUserControl()
pane1.Content = userControl
pane1.Visibility = Visibility.Visible
'pane1.TabNavigation = KeyboardNavigationMode.Local
pane1.MakeDockable()
radPaneGroup2.Items.Add(pane1)
Please check withoutDocked.png image. You will see the radpane is not positioned and even header hane is blank (*not applied)
I want to dock the radpane at center when i add it from backend.
it is working in case of RadDocking.DocumentHost. Please check attached image dockedAtCenter.png
But i want radpane docked at center using RadSplitContainer.
Please let me know how to dock radpane at center while adding dynamically?
Thanks
Bipin
I am adding radpane dynamically into radpanegroup.
<telerik:RadSplitContainer AllowDrop="True" x:Name="radSplitContainer" Background="Transparent" Width="{Binding Source={StaticResource TrendsRadPaneWidth}, Converter={StaticResource AppConverter}}">
<telerik:RadPaneGroup x:Name="radPaneGroup2" Background="Transparent" PreviewSelectionChanged="radPaneGroup_PreviewSelectionChanged_1">
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
code -
Dim pane1 As New RadPane()
pane1.Header = window.InputTextBlock.Text
Dim userControl As New RadPaneUserControl()
pane1.Content = userControl
pane1.Visibility = Visibility.Visible
'pane1.TabNavigation = KeyboardNavigationMode.Local
pane1.MakeDockable()
radPaneGroup2.Items.Add(pane1)
Please check withoutDocked.png image. You will see the radpane is not positioned and even header hane is blank (*not applied)
I want to dock the radpane at center when i add it from backend.
it is working in case of RadDocking.DocumentHost. Please check attached image dockedAtCenter.png
But i want radpane docked at center using RadSplitContainer.
Please let me know how to dock radpane at center while adding dynamically?
Thanks
Bipin