Merge pull request #280 from irihitech/275-scroll
Move scrollbar local template value to style setter.
This commit is contained in:
commit
c9fd4c9605
@ -241,13 +241,11 @@
|
|||||||
Name="PART_HorizontalScrollBar"
|
Name="PART_HorizontalScrollBar"
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Opacity="0"
|
|
||||||
Orientation="Horizontal" />
|
Orientation="Horizontal" />
|
||||||
<ScrollBar
|
<ScrollBar
|
||||||
Name="PART_VerticalScrollBar"
|
Name="PART_VerticalScrollBar"
|
||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Opacity="0"
|
|
||||||
Orientation="Vertical" />
|
Orientation="Vertical" />
|
||||||
<Panel
|
<Panel
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
@ -255,6 +253,9 @@
|
|||||||
</Grid>
|
</Grid>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter>
|
</Setter>
|
||||||
|
<Style Selector="^ /template/ ScrollBar">
|
||||||
|
<Setter Property="Opacity" Value="0"></Setter>
|
||||||
|
</Style>
|
||||||
<Style Selector="^:pointerover">
|
<Style Selector="^:pointerover">
|
||||||
<Style Selector="^ /template/ ScrollBar#PART_HorizontalScrollBar">
|
<Style Selector="^ /template/ ScrollBar#PART_HorizontalScrollBar">
|
||||||
<Setter Property="Opacity" Value="1" />
|
<Setter Property="Opacity" Value="1" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user