2ec5866c4a
-focus oer slider da sistemare -aggiunto selezione layer in scena che visualizza il layer nell'albero da controllare
43 lines
1.6 KiB
XML
43 lines
1.6 KiB
XML
<UserControl x:Class="MachiningParameterExpanderV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:EgtCAM5="clr-namespace:EgtCAM5">
|
|
|
|
<UserControl.Resources>
|
|
<EgtCAM5:DepthUnitConverter x:Key="DepthUnitConverter"/>
|
|
</UserControl.Resources>
|
|
|
|
<StackPanel>
|
|
<ContentControl Content="{Binding Path=ParamExpanderPageV}" />
|
|
|
|
<Button Name="ApplyMachBtn" Height="30" Content="{Binding UpdateMachiningBtnMsg}"
|
|
Command="{Binding UpdateMachiningCommand}" Background="{Binding UpdateMachiningBtn_Background}"/>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="1*"/>
|
|
<RowDefinition Height="Auto"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<CheckBox Name="ViewToolBtn"
|
|
Content="{Binding ViewToolBtnMsg}"
|
|
IsChecked="{Binding ViewTool}"
|
|
Style="{StaticResource ViewTool_CheckBox}"/>
|
|
|
|
<Slider Grid.Row="1"
|
|
Name="SliderV"
|
|
Value="{Binding SliderValue}"
|
|
IsEnabled="{Binding IsChecked, ElementName=ViewToolBtn}"
|
|
TickFrequency="{Binding SliderTick}"
|
|
Minimum="1"
|
|
Maximum="{Binding SliderScale}"
|
|
IsSnapToTickEnabled="False"
|
|
Style="{StaticResource SliderValue_Slider}"/>
|
|
|
|
</Grid>
|
|
</StackPanel>
|
|
|
|
</UserControl>
|