51 lines
2.6 KiB
XML
51 lines
2.6 KiB
XML
<UserControl x:Class="RefreshPanelV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
<StackPanel Background="Transparent" Orientation="Horizontal" IsEnabled="{Binding EnableRefreschPanel}">
|
|
<Button Command="{Binding Refresh_Command}"
|
|
ToolTip="{Binding RefreshToolTip}"
|
|
Width="Auto"
|
|
Style="{DynamicResource GridViewPanelButton}">
|
|
<Image Source="/Resources/Refresh/Refresh.png" Stretch="Uniform" Height="22"/>
|
|
</Button>
|
|
<Button Command="{Binding Dimension_Command}"
|
|
ToolTip="{Binding DimensionToolTip}"
|
|
Visibility="{Binding DimensionVisibility}"
|
|
Focusable="False"
|
|
Style="{DynamicResource GridViewPanelButton}">
|
|
<ContentControl>
|
|
<Image Source="/Resources/Template/TemplateDoor1.png" Stretch="Uniform" Width="25" RenderTransformOrigin="0.497,0.509" />
|
|
</ContentControl>
|
|
</Button>
|
|
<Button Command="{Binding ShowError_Command}"
|
|
Visibility="{Binding ErrorVisibility}"
|
|
Style="{DynamicResource GridViewPanelButton}">
|
|
<Image Source="/Resources/Refresh/Error.png" Stretch="Uniform" Height="22"/>
|
|
</Button>
|
|
<!--Command="{Binding DataContext.RefreshBtnCommand,RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}"-->
|
|
<RadioButton IsChecked="{Binding AssemblyIsChecked}"
|
|
ToolTip="Assembly View"
|
|
GroupName="AssemblyView"
|
|
Visibility="{Binding ButtonVisibility}"
|
|
Style="{StaticResource AssemblyViewRadioButton}">
|
|
<Image Source="/Resources/Refresh/Assembly.png" Stretch="Uniform" Height="22"/>
|
|
</RadioButton>
|
|
<RadioButton IsChecked="{Binding ExplodedIsChecked}"
|
|
ToolTip="Exploded View"
|
|
GroupName="AssemblyView"
|
|
Visibility="{Binding ButtonVisibility}"
|
|
Style="{StaticResource AssemblyViewRadioButton}">
|
|
<Image Source="/Resources/Refresh/Exploded.png" Stretch="Uniform" Height="22"/>
|
|
</RadioButton>
|
|
<RadioButton IsChecked="{Binding DisposedIsChecked}"
|
|
ToolTip="Disposition View"
|
|
GroupName="AssemblyView"
|
|
Visibility="{Binding ButtonVisibility}"
|
|
Style="{StaticResource AssemblyViewRadioButton}">
|
|
<Image Source="/Resources/Refresh/Disposed.png" Stretch="Uniform" Height="22"/>
|
|
</RadioButton>
|
|
</StackPanel>
|
|
|
|
</UserControl>
|