blob: 8b6e57af4d0199de049575cf930c3b445c10cb9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
<?xml version="1.0"?>
<HorizontalStack Margin="50">
<VerticalStack Spacing="10" Width="50%">
<Slider Background="DarkGrey" Height="20" Width="Stretched" Inverted="{../../inverted.IsChecked}"/>
<Slider Background="RoyalBlue" Height="50" Width="Stretched" CursorSize="50" Inverted="{../../inverted.IsChecked}">
<Template>
<Group Background="DarkGrey" >
<Gauge Height="50%" Background="Onyx" Value="{./Value}" Maximum="{./Maximum}" Minimum="{Minimum}" Orientation="{./Orientation}"
Inverted="{./Inverted}"/>
<Container Name="Cursor" Background="White" >
<Label Text="{./Value}" Foreground="Black"/>
</Container>
</Group>
</Template>
</Slider>
<Slider Background="Transparent" Margin="2" Height="10" Width="Stretched" Inverted="{../../inverted.IsChecked}"/>
<Slider Background="Transparent" CursorSize="10" Height="12" Inverted="{../../inverted.IsChecked}">
<Template>
<Group Background="DarkGrey" >
<Gauge Height="50%" Background="Onyx" Value="{./Value}" Maximum="{./Maximum}" Minimum="{Minimum}" Orientation="{./Orientation}"
Inverted="{./Inverted}"/>
<Widget Name="Cursor" Background="White" />
</Group>
</Template>
</Slider>
<Slider Height="10" Width="Stretched" Inverted="{../../inverted.IsChecked}" />
<Slider ClipToClientRect='false' Background="DarkGrey" CursorSize="50" Height="12" CornerRadius="5" Inverted="{../../inverted.IsChecked}" />
<Slider ClipToClientRect='false' CacheEnabled='false' Background="Transparent" CursorSize="20" Height="12" Width="Stretched" Inverted="{../../inverted.IsChecked}" />
<CheckBox Name="inverted" Background="DarkSlateGrey" Caption="Inverted" Width="Fit" Foreground="Black"/>
</VerticalStack>
<HorizontalStack Spacing="10" >
<Slider Orientation="Vertical" Width="20" Height="Stretched" Inverted="{../../inverted.IsChecked}"/>
<Slider Orientation="Vertical" Width="50" Height="Stretched" Background="RoyalBlue" CursorSize="50" Inverted="{../../inverted.IsChecked}">
<Template>
<Group Background="DarkGrey" >
<Gauge Width="50%" Background="Onyx" Value="{./Value}" Maximum="{./Maximum}" Minimum="{Minimum}" Orientation="{./Orientation}"
Inverted="{./Inverted}"/>
<Container Name="Cursor" Background="White" >
<Label Text="{./Value}" Foreground="Black"/>
</Container>
</Group>
</Template>
</Slider>
<Slider Orientation="Vertical" Width="10" Height="Stretched" Background="Transparent" Margin="2" Inverted="{../../inverted.IsChecked}"/>
<Slider Orientation="Vertical" Width="12" Height="Stretched" Background="Transparent" CursorSize="10" Inverted="{../../inverted.IsChecked}">
<Template>
<Group Background="DarkGrey" >
<Gauge Width="50%" Background="Onyx" Value="{./Value}" Maximum="{./Maximum}" Minimum="{Minimum}" Orientation="{./Orientation}"
Inverted="{./Inverted}"/>
<Widget Name="Cursor" Background="White" />
</Group>
</Template>
</Slider>
<Slider Width="10" Orientation="Vertical" Inverted="{../../inverted.IsChecked}"/>
<Slider Width="12" Height="Stretched" Orientation="Vertical" ClipToClientRect='false' Background="DarkGrey" CursorSize="50" CornerRadius="5" Inverted="{../../inverted.IsChecked}"/>
<Slider Width="12" Height="Stretched" Orientation="Vertical" ClipToClientRect='false' CacheEnabled='false' Background="Transparent" CursorSize="20" Inverted="{../../inverted.IsChecked}"/>
</HorizontalStack>
</HorizontalStack>
|