aboutsummaryrefslogtreecommitdiffstatsci
path: root/Crow.ControlsLib/Templates/TreeView.template
diff options
context:
space:
mode:
Diffstat (limited to 'Crow.ControlsLib/Templates/TreeView.template')
-rw-r--r--Crow.ControlsLib/Templates/TreeView.template14
1 files changed, 14 insertions, 0 deletions
diff --git a/Crow.ControlsLib/Templates/TreeView.template b/Crow.ControlsLib/Templates/TreeView.template
new file mode 100644
index 00000000..c29e34c5
--- /dev/null
+++ b/Crow.ControlsLib/Templates/TreeView.template
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<HorizontalStack>
+ <Scroller Name="scroller1" Margin="1" VerticalScrolling="true"
+ Background="{./Background}"
+ ScrollY="{../scrollbar1.Value}">
+ <VerticalStack
+ Height="Fit" Name="ItemsContainer" Margin="0" VerticalAlignment="Top"/>
+ </Scroller>
+ <ScrollBar
+ Name="scrollbar1"
+ Value="{../scroller1.ScrollY}"
+ Maximum="{../scroller1.MaximumScroll}"
+ Width="14" Orientation="Vertical"/>
+</HorizontalStack>