aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/TreeView.template
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-12 17:17:05 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-08-12 17:17:05 +0200
commit86acbb4902a25100a183da7ce9e7a5662de8b4cb (patch)
tree6fb2b3897704267d3fdb5b260df51b29135577f2 /Templates/TreeView.template
parented815a31113235890cf6c902c754fb3dc7536708 (diff)
default template searched in embedded resources with .template extension
Diffstat (limited to 'Templates/TreeView.template')
-rw-r--r--Templates/TreeView.template16
1 files changed, 16 insertions, 0 deletions
diff --git a/Templates/TreeView.template b/Templates/TreeView.template
new file mode 100644
index 00000000..bd50e54a
--- /dev/null
+++ b/Templates/TreeView.template
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<HorizontalStack Height="{./HeightPolicy}" Width="{./WidthPolicy}">
+ <Scroller Name="scroller1" Margin="1" VerticalScrolling="true"
+ Background="{./Background}"
+ Height="{./HeightPolicy}" Width="{./WidthPolicy}"
+ ScrollY="{../scrollbar1.Value}"
+ ValueChanged="./_scroller_ValueChanged">
+ <VerticalStack LayoutChanged="./_list_LayoutChanged"
+ Height="Fit" Width="{./WidthPolicy}" Name="List" Margin="0" VerticalAlignment="Top"/>
+ </Scroller>
+ <ScrollBar
+ Name="scrollbar1"
+ Value="{../scroller1.ScrollY}"
+ Maximum="{../scroller1.MaximumScroll}"
+ Width="14" Orientation="Vertical"/>
+</HorizontalStack>