增加保温层和整理管线的功能,修复自动保存功能等修复多个bug
This commit is contained in:
78
RvAddinTest/FluentWindow.xaml
Normal file
78
RvAddinTest/FluentWindow.xaml
Normal file
@@ -0,0 +1,78 @@
|
||||
<ui:FluentWindow
|
||||
x:Class="RvAddinTest.FluentWindow"
|
||||
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:local="clr-namespace:RvAddinTest"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
|
||||
xmlns:ws="https://schemas.elecho.dev/wpfsuite"
|
||||
xmlns:wsfd="https://schemas.elecho.dev/wpfsuite-design/fluent"
|
||||
Title="FluentWindow"
|
||||
Width="800"
|
||||
Height="450"
|
||||
ExtendsContentIntoTitleBar="True"
|
||||
WindowBackdropType="Mica"
|
||||
mc:Ignorable="d">
|
||||
<!--
|
||||
WindowOption.Backdrop="Mica"
|
||||
WindowOption.IsDarkMode="True"
|
||||
Background="Transparent"
|
||||
-->
|
||||
<Window.Resources>
|
||||
<!--<ResourceDictionary Source="pack://application:,,,/RvAddinTest;component/FluentStyles.xaml" />-->
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ui:ThemesDictionary Theme="Light" />
|
||||
<ui:ControlsDictionary />
|
||||
<!--<wsfd:FluentResources />-->
|
||||
<!--<ResourceDictionary Source="pack://application:,,,/EleCho.WpfSuite.FluentDesign;component/Themes/Dark.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/EleCho.WpfSuite.FluentDesign;component/Styles/TextBoxResources.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/EleCho.WpfSuite.FluentDesign;component/Styles/PasswordBoxResources.xaml" />
|
||||
<ResourceDictionary Source="pack://application:,,,/EleCho.WpfSuite.FluentDesign;component/Styles/CommonResources.xaml" />-->
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</Window.Resources>
|
||||
<DockPanel>
|
||||
<ui:TitleBar Title="测试" DockPanel.Dock="Top" />
|
||||
<ScrollViewer Margin="12">
|
||||
<StackPanel>
|
||||
<TextBox Width="200" />
|
||||
<PasswordBox />
|
||||
<Button Click="Button_Click" Content="按钮" />
|
||||
<ToggleButton Content="Tog" />
|
||||
<ComboBox>
|
||||
<ComboBoxItem Content="First" />
|
||||
<ComboBoxItem Content="Second" />
|
||||
<ComboBoxItem Content="Third" />
|
||||
</ComboBox>
|
||||
<CheckBox Content="CheckBox" />
|
||||
<TabControl>
|
||||
<TabItem Header="First" />
|
||||
<TabItem Header="Second" />
|
||||
<TabItem Header="Third" />
|
||||
</TabControl>
|
||||
<ListBox>
|
||||
<ListBoxItem Content="First" />
|
||||
<ListBoxItem Content="Second" />
|
||||
<ListBoxItem Content="Third" />
|
||||
</ListBox>
|
||||
<Menu>
|
||||
<MenuItem Header="First" />
|
||||
<MenuItem Header="Second" />
|
||||
<MenuItem Header="Third" />
|
||||
</Menu>
|
||||
<StackPanel>
|
||||
<TextBlock Text="WrapPanel with spacing" />
|
||||
<ItemsControl ItemsSource="{Binding TestItems}">
|
||||
<ItemsControl.ItemsPanel>
|
||||
<ItemsPanelTemplate>
|
||||
<WrapPanel />
|
||||
</ItemsPanelTemplate>
|
||||
</ItemsControl.ItemsPanel>
|
||||
</ItemsControl>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</DockPanel>
|
||||
</ui:FluentWindow>
|
||||
Reference in New Issue
Block a user