添加项目文件。
This commit is contained in:
83
GroupLine.App/View/DbDataClear/DbDataClearView.xaml
Normal file
83
GroupLine.App/View/DbDataClear/DbDataClearView.xaml
Normal file
@@ -0,0 +1,83 @@
|
||||
<UserControl
|
||||
x:Class="YC5.App.View.DbDataClear.DbDataClearView"
|
||||
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:YC5.App.View.DbDataClear"
|
||||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
d:DesignHeight="1000"
|
||||
d:DesignWidth="1600"
|
||||
DataContext="{Binding Source={StaticResource Locator}, Path=DbDataClear}"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<StackPanel>
|
||||
<GroupBox Margin="10,20,10,10" Header="数据清除">
|
||||
<StackPanel Margin="0,10,0,0" Orientation="Vertical">
|
||||
<StackPanel.Resources>
|
||||
<Style TargetType="StackPanel">
|
||||
<Setter Property="Orientation" Value="Horizontal" />
|
||||
<Setter Property="Margin" Value="0,0,0,4" />
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource {x:Type Label}}" TargetType="Label">
|
||||
<Setter Property="Width" Value="120" />
|
||||
<Setter Property="VerticalAlignment" Value="Center" />
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource {x:Type CheckBox}}" TargetType="CheckBox">
|
||||
<Setter Property="Padding" Value="0,3" />
|
||||
</Style>
|
||||
<Style BasedOn="{StaticResource {x:Type RadioButton}}" TargetType="RadioButton">
|
||||
<Setter Property="Padding" Value="0,3" />
|
||||
</Style>
|
||||
</StackPanel.Resources>
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="5*" />
|
||||
<RowDefinition Height="8*" />
|
||||
<RowDefinition Height="5*" />
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<StackPanel
|
||||
Grid.Column="1"
|
||||
HorizontalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
|
||||
<StackPanel Margin="20">
|
||||
<Label HorizontalContentAlignment="Center" Content="时间节点:" />
|
||||
<DatePicker
|
||||
Width="120"
|
||||
Margin="0,0,10,0"
|
||||
materialDesign:HintAssist.Hint="时间节点"
|
||||
Language="zh-CN"
|
||||
SelectedDate="{Binding ActionCmdDate, Mode=TwoWay}"
|
||||
Style="{StaticResource MaterialDesignFloatingHintDatePicker}" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
|
||||
|
||||
|
||||
<Button
|
||||
Grid.Row="1"
|
||||
Grid.RowSpan="2"
|
||||
Grid.Column="1"
|
||||
Width="100"
|
||||
Height="30"
|
||||
Margin="660,0,0,0"
|
||||
HorizontalAlignment="Left"
|
||||
Background="Orange"
|
||||
Command="{Binding ActionCmd}"
|
||||
Content="提交" />
|
||||
|
||||
</Grid>
|
||||
|
||||
</StackPanel>
|
||||
|
||||
|
||||
</GroupBox>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
Reference in New Issue
Block a user