aboutsummaryrefslogtreecommitdiffstatsci
path: root/Templates/ScrollingListBox.template
blob: 67300ae9ed1d0bbd5a07306513c45f76803e6d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0"?>
<Border BorderWidth="1" Background="{./Background}">
	<HorizontalStack Margin="1">
		<Scroller Name="scroller1" Margin="2">
			<VerticalStack Height="Fit" MinimumSize="10,10"
				Name="ItemsContainer" Margin="0" VerticalAlignment="Top"/>
		</Scroller>
		<ScrollBar Name="scrollbar1" Value="{²../scroller1.ScrollY}"
			LargeIncrement="{../scroller1.PageHeight}" SmallIncrement="30" CursorSize="{../scroller1.ChildHeightRatio}"
			Maximum="{../scroller1.MaxScrollY}" Orientation="Vertical" 
			Width="14" />
	</HorizontalStack>
</Border>