Files
ShrlAlgoToolkit/Sai.RvKits/RvView/ElementControlDock.xaml

83 lines
3.1 KiB
Plaintext
Raw Normal View History

2024-09-22 11:05:41 +08:00
<Page
x:Class="Sai.RvKits.RvView.ElementsControlDock"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:ex="https://github.com/sherlockforrest/Wpf.Ui.Extend"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
Background="{DynamicResource WindowBackground}"
mc:Ignorable="d">
<Page.Resources>
<ResourceDictionary Source="pack://application:,,,/Sai.RvKits;component/WPFUI.xaml" />
</Page.Resources>
<Grid>
<ex:StackPanelEx
Margin="5"
HorizontalAlignment="Center"
Spacing="5">
<ui:Button
x:Name="HideElements"
Margin="0,5"
Click="Btn_Click"
Content="隐藏对象"
Icon="{ui:SymbolIcon SlideHide20,
False}" />
<!--<Button
x:Name="HideCategories"
Height="30"
Click="Btn_Click"
Content="&#xEDE6;隐藏类别"
FontFamily="{StaticResource BoxIcons}"
FontSize="18" />-->
<ui:Button
x:Name="HideCategories"
Click="Btn_Click"
Content="隐藏类别"
Icon="{ui:SymbolIcon SlideHide20,
True}" />
<ui:Button
x:Name="PinElements"
Click="Btn_Click"
Content="锁定对象"
Icon="{ui:SymbolIcon LockClosed20,
False}" />
<ui:Button
x:Name="PinCategories"
Click="Btn_Click"
Content="锁定类别"
Icon="{ui:SymbolIcon LockClosed20,
True}" />
<ui:Button
x:Name="UnpinCategories"
Click="Btn_Click"
Content="解锁类别"
Icon="{ui:SymbolIcon LockOpen20,
False}" />
<ui:Button
x:Name="UnpinAllElements"
Click="Btn_Click"
Content="解锁全部"
Icon="{ui:SymbolIcon LockOpen20,
True}" />
<ui:Button
x:Name="IsolateElements"
Click="Btn_Click"
Content="隔离对象"
Icon="{ui:SymbolIcon SearchVisual20,
False}" />
<ui:Button
x:Name="IsolateCategories"
Click="Btn_Click"
Content="隔离类别"
Icon="{ui:SymbolIcon SearchVisual20,
True}" />
<ui:Button
x:Name="RevealHiddenElements"
Click="Btn_Click"
Content="显示隐藏"
Icon="{ui:SymbolIcon Eye20,
True}" />
</ex:StackPanelEx>
</Grid>
</Page>