@@ -79,7 +79,7 @@
</Button>
<!--工具栏展开收缩-->
- <ToggleButton Margin="13,0,0,0" BorderThickness="0" Width="30" Height="30" Style="{StaticResource ToggleButtonStyle}" Background="Transparent" Click="ToolExpand_Click">
+ <ToggleButton Name="ToolExpandBtn" Margin="13,0,0,0" BorderThickness="0" Width="30" Height="30" Style="{StaticResource ToggleButtonStyle}" Background="Transparent" Click="ToolExpand_Click">
<ToggleButton.Content>
<Path Fill="#43474D" Width="30" Height="30">
<Path.Data>
@@ -619,6 +619,7 @@ namespace viewer_ctrl_demo
{
ExpandLeftPanel(true);
SearchToolButton.IsChecked = true;
+ ToolExpandBtn.IsChecked = true;
SearchToolButton_Click(SearchToolButton, new RoutedEventArgs());
}
@@ -90,7 +90,7 @@
@@ -649,6 +649,7 @@ namespace edit_ctrl_demo
@@ -91,7 +91,7 @@
@@ -496,6 +496,7 @@ namespace form_ctrl_demo
@@ -76,7 +76,7 @@
@@ -464,6 +464,7 @@ namespace viewer_ctrl_demo