forked from amkovkov/GranuSightSoftware2
refactor: format IlluminatorControllerView
This commit is contained in:
@@ -11,24 +11,27 @@
|
||||
x:DataType="vm:IlluminatorControllerViewModel">
|
||||
|
||||
<UserControl.Styles>
|
||||
|
||||
<Style Selector="Slider.horizontal">
|
||||
<Setter Property="VerticalAlignment" Value="Stretch" />
|
||||
<Setter Property="Maximum" Value="1" />
|
||||
<Setter Property="Minimum" Value="0" />
|
||||
<Setter Property="Orientation" Value="Vertical" />
|
||||
</Style>
|
||||
|
||||
<Style Selector="Slider.vertical">
|
||||
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
||||
<Setter Property="Maximum" Value="1" />
|
||||
<Setter Property="Minimum" Value="0" />
|
||||
<Setter Property="Orientation" Value="Horizontal" />
|
||||
</Style>
|
||||
|
||||
</UserControl.Styles>
|
||||
|
||||
<Grid>
|
||||
|
||||
<Grid IsVisible="{Binding Orientation, Converter={x:Static converters:OrientationToBoolConverter.IsHorizontal}}">
|
||||
|
||||
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
|
||||
Reference in New Issue
Block a user