更新整理
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
<ui:FluentWindowEx
|
||||
x:Class="ShrlAlgo.RvKits.RvCommon.AutoSaveView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:rvCommon="clr-namespace:ShrlAlgo.RvKits.RvCommon"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
Title="自动保存"
|
||||
Width="300"
|
||||
d:DataContext="{d:DesignInstance Type=rvCommon:AutoSaveViewModel}"
|
||||
mc:Ignorable="d">
|
||||
mc:Ignorable="d"
|
||||
x:Class="ShrlAlgoToolkit.RevitAddins.RvCommon.AutoSaveView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:rvCommon="clr-namespace:ShrlAlgoToolkit.RevitAddins.RvCommon"
|
||||
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<b:Interaction.Triggers>
|
||||
<b:EventTrigger EventName="Closing">
|
||||
<b:InvokeCommandAction Command="{Binding ClosingCommand}" />
|
||||
@@ -25,13 +24,13 @@
|
||||
</ResourceDictionary>
|
||||
</Window.Resources>
|
||||
<ui:AutoGrid Margin="5" VerticalAlignment="Center">
|
||||
<CheckBox x:Name="CbAutoSave" IsChecked="{Binding IsActiveAutoSave, UpdateSourceTrigger=PropertyChanged}" />
|
||||
<TextBlock VerticalAlignment="Center" Text="自动保存时间间隔(分钟):" />
|
||||
<CheckBox IsChecked="{Binding IsActiveAutoSave, UpdateSourceTrigger=PropertyChanged}" x:Name="CbAutoSave" />
|
||||
<TextBlock Text="自动保存时间间隔(分钟):" VerticalAlignment="Center" />
|
||||
<TextBox
|
||||
x:Name="TbIntervalMinutes"
|
||||
Width="80"
|
||||
InputMethod.IsInputMethodEnabled="False"
|
||||
IsEnabled="{Binding IsChecked, ElementName=CbAutoSave}"
|
||||
Text="{Binding IntervalTime, UpdateSourceTrigger=PropertyChanged}" />
|
||||
Text="{Binding IntervalTime, UpdateSourceTrigger=PropertyChanged}"
|
||||
Width="80"
|
||||
x:Name="TbIntervalMinutes" />
|
||||
</ui:AutoGrid>
|
||||
</ui:FluentWindowEx>
|
||||
|
||||
Reference in New Issue
Block a user