This question is locked. New answers and comments are not allowed.
Hello,
I used Rad docking panel, in one of the panes I added a treeview, which at the time, the tree view's scrollbar shows up correctly when I expand items.
Then I also need to put in a button in that panel, so I put the treeview inside a stackpanel. after that, the treeview's scrollbar is gone.
I knew I did something wrong but couldn't figure out what. please help. Thanks.... Christina
I used Rad docking panel, in one of the panes I added a treeview, which at the time, the tree view's scrollbar shows up correctly when I expand items.
Then I also need to put in a button in that panel, so I put the treeview inside a stackpanel. after that, the treeview's scrollbar is gone.
I knew I did something wrong but couldn't figure out what. please help. Thanks.... Christina
| <Grid x:Name="LayoutRoot" Background="White"> |
| <radDock:RadDocking> |
| <radDock:RadDocking.DocumentHost> |
| <radDock:RadSplitContainer> |
| <radDock:RadPaneGroup> |
| <radDock:RadDocumentPane Header="MainFunctions" Title="MobileAsset"> |
| <StackPanel x:Name="stackPanel"> |
| <TextBlock x:Name="NameLabel" Width="1000" HorizontalAlignment="Center" FontSize="20" Text="Default Text" TextAlignment="Center"></TextBlock> |
| <TextBlock x:Name="NameLabel2" Width="1000" HorizontalAlignment="Center" FontSize="20" Text="Default Text" TextAlignment="Center"></TextBlock> |
| </StackPanel> |
| </radDock:RadDocumentPane> |
| </radDock:RadPaneGroup> |
| </radDock:RadSplitContainer> |
| </radDock:RadDocking.DocumentHost> |
| <radDock:RadSplitContainer x:Name="Splitter" InitialPosition="DockedBottom" SizeChanged="MainNavigator_SizeChanged" |
| Height="230"> |
| <radDock:RadPaneGroup TabStripPlacement="Bottom"> |
| <radDock:RadPane x:Name="radPaneApprovals" Header="Approval List" IsPinned="True"> |
| <StackPanel x:Name="stackPanelApprovals"> |
| <radNavigation:RadTreeView x:Name="tvApprovalList" IsTriStateMode="True" SelectionMode="Extended" IsLineEnabled="True" |
| ItemsOptionListType="CheckList" IsOptionElementsEnabled="True" |
| Checked="RadTreeViewItem_Checked" |
| BorderBrush="DarkBlue" BorderThickness="5"> |
| <radNavigation:RadTreeViewItem Header="Asset Requisition" IsExpanded="True" CheckState="On" IsSelected="False"> |
| <radNavigation:RadTreeViewItem Header="AR 090325-05"/> |
| <radNavigation:RadTreeViewItem Header="AR 090401-11"/> |
| <radNavigation:RadTreeViewItem Header="AR 080412-01"/> |
| </radNavigation:RadTreeViewItem> |
| <radNavigation:RadTreeViewItem Header="Asset Type Requisition" IsExpanded="True" CheckState="On" IsSelected="False"> |
| <radNavigation:RadTreeViewItem Header="TR 080315-45"/> |
| <radNavigation:RadTreeViewItem Header="TR 090401-41"/> |
| <radNavigation:RadTreeViewItem Header="TR 080412-02"/> |
| <radNavigation:RadTreeViewItem Header="TR 080412-03"/> |
| <radNavigation:RadTreeViewItem Header="TR 080412-04"/> |
| <radNavigation:RadTreeViewItem Header="TR 080412-05"/> |
| </radNavigation:RadTreeViewItem> |
| </radNavigation:RadTreeView> |
| </StackPanel> |
| </radDock:RadPane> |
| </radDock:RadPaneGroup> |
| </radDock:RadSplitContainer> |
| </radDock:RadDocking> |
| </Grid> |