|
@@ -14,6 +14,8 @@
|
|
|
d:DesignHeight="40"
|
|
|
d:DesignWidth="800"
|
|
|
prism:ViewModelLocator.AutoWireViewModel="True"
|
|
|
+ Loaded="UserControl_Loaded"
|
|
|
+ Unloaded="UserControl_Unloaded"
|
|
|
mc:Ignorable="d">
|
|
|
<UserControl.Resources>
|
|
|
<convert:UnVisivleConvert x:Key="UnVisibleConvert" />
|
|
@@ -36,8 +38,9 @@
|
|
|
<Setter Property="Fill" Value="{StaticResource color.icon.base.neutral.norm.lv2}" />
|
|
|
</Style>
|
|
|
</UserControl.Resources>
|
|
|
+
|
|
|
<Grid VerticalAlignment="Center">
|
|
|
- <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
|
|
|
+ <StackPanel x:Name="PnlTool" HorizontalAlignment="Center" Orientation="Horizontal">
|
|
|
<RadioButton>
|
|
|
<Grid>
|
|
|
<Path Data="M3 4H18C18.2761 4 18.5 4.22386 18.5 4.5V11L13.5 16H3C2.72386 16 2.5 15.7761 2.5 15.5V4.5C2.5 4.22386 2.72386 4 3 4ZM0.5 4.5C0.5 3.11929 1.61929 2 3 2H18C19.3807 2 20.5 3.11929 20.5 4.5V15.5C20.5 16.8807 19.3807 18 18 18H3C1.61929 18 0.5 16.8807 0.5 15.5V4.5Z" Style="{StaticResource BorderPath}" />
|
|
@@ -47,6 +50,9 @@
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
<i:InvokeCommandAction Command="{Binding CheckedCommand}" CommandParameter="Text" />
|
|
|
</i:EventTrigger>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <i:InvokeCommandAction Command="{Binding ClickCommand}" CommandParameter="Text" />
|
|
|
+ </i:EventTrigger>
|
|
|
</i:Interaction.Triggers>
|
|
|
</RadioButton>
|
|
|
<RadioButton>
|
|
@@ -58,6 +64,9 @@
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
<i:InvokeCommandAction Command="{Binding CheckedCommand}" CommandParameter="CheckBox" />
|
|
|
</i:EventTrigger>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <i:InvokeCommandAction Command="{Binding ClickCommand}" CommandParameter="CheckBox" />
|
|
|
+ </i:EventTrigger>
|
|
|
</i:Interaction.Triggers>
|
|
|
</RadioButton>
|
|
|
<RadioButton>
|
|
@@ -76,6 +85,9 @@
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
<i:InvokeCommandAction Command="{Binding CheckedCommand}" CommandParameter="RadioButton" />
|
|
|
</i:EventTrigger>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <i:InvokeCommandAction Command="{Binding ClickCommand}" CommandParameter="RadioButton" />
|
|
|
+ </i:EventTrigger>
|
|
|
</i:Interaction.Triggers>
|
|
|
</RadioButton>
|
|
|
<RadioButton>
|
|
@@ -87,6 +99,9 @@
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
<i:InvokeCommandAction Command="{Binding CheckedCommand}" CommandParameter="ListBox" />
|
|
|
</i:EventTrigger>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <i:InvokeCommandAction Command="{Binding ClickCommand}" CommandParameter="ListBox" />
|
|
|
+ </i:EventTrigger>
|
|
|
</i:Interaction.Triggers>
|
|
|
</RadioButton>
|
|
|
<RadioButton>
|
|
@@ -98,6 +113,9 @@
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
<i:InvokeCommandAction Command="{Binding CheckedCommand}" CommandParameter="Combox" />
|
|
|
</i:EventTrigger>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <i:InvokeCommandAction Command="{Binding ClickCommand}" CommandParameter="Combox" />
|
|
|
+ </i:EventTrigger>
|
|
|
</i:Interaction.Triggers>
|
|
|
</RadioButton>
|
|
|
<RadioButton>
|
|
@@ -110,6 +128,9 @@
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
<i:InvokeCommandAction Command="{Binding CheckedCommand}" CommandParameter="Button" />
|
|
|
</i:EventTrigger>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <i:InvokeCommandAction Command="{Binding ClickCommand}" CommandParameter="Button" />
|
|
|
+ </i:EventTrigger>
|
|
|
</i:Interaction.Triggers>
|
|
|
</RadioButton>
|
|
|
<RadioButton>
|
|
@@ -120,6 +141,9 @@
|
|
|
<i:EventTrigger EventName="Checked">
|
|
|
<i:InvokeCommandAction Command="{Binding CheckedCommand}" CommandParameter="Sign" />
|
|
|
</i:EventTrigger>
|
|
|
+ <i:EventTrigger EventName="Click">
|
|
|
+ <i:InvokeCommandAction Command="{Binding ClickCommand}" CommandParameter="Sign" />
|
|
|
+ </i:EventTrigger>
|
|
|
</i:Interaction.Triggers>
|
|
|
</RadioButton>
|
|
|
|