SaleWPF/Views/OrderDetail.xaml
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<UserControl x:Class="SaleWPF.Views.OrderDetail"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:rubyer="http://rubyer.io/winfx/xaml/toolkit"
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
xmlns:viewmodels="clr-namespace:SaleWPF.ViewModels"
d:DataContext="{d:DesignInstance Type=viewmodels:OrderDetailViewModel}"
xmlns:local="clr-namespace:SaleWPF.Views"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid rubyer:GridHelper.RowDefinitions="auto,*,auto,auto" rubyer:PanelHelper.Spacing="10">
<GroupBox Grid.Row="0" BorderThickness="1" BorderBrush="{StaticResource Dark}">
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Text="流水账号:" Foreground="Black" ></TextBlock>
<TextBox Width="120" Margin="10,0,0,0" Height="30" Text="{Binding OrderNo}"></TextBox>
<TextBlock Text="商品名称:" Foreground="Black" Margin="10,0,0,0"></TextBlock>
<TextBox Width="80" Margin="10,0,0,0" Height="30" Text="{Binding GoodsName}"></TextBox>
<TextBlock Text="商品编码:" Foreground="Black" Margin="10,0,0,0"></TextBlock>
<TextBox Width="80" Margin="10,0,0,0" Height="30" Text="{Binding GoodsCode}"></TextBox>
<TextBlock Text="开始日期:" Foreground="Black" Margin="10,0,0,0"></TextBlock>
<DatePicker Width="120" Margin="10,0,0,0"
rubyer:ControlHelper.FocusBorderBrush="{DynamicResource Accent}"
rubyer:ControlHelper.MouseOverBrush="{DynamicResource Accent}"
rubyer:InputBoxHelper.IsClearable="True"
rubyer:InputBoxHelper.Watermark="请选择日期"
SelectedDateFormat="Short"
SelectedDate="{Binding StarDate}" />
<TextBlock Text="结束日期:" Foreground="Black" Margin="10,0,0,0"></TextBlock>
<DatePicker Width="120" Margin="10,0,0,0"
rubyer:ControlHelper.FocusBorderBrush="{DynamicResource Accent}"
rubyer:ControlHelper.MouseOverBrush="{DynamicResource Accent}"
rubyer:InputBoxHelper.IsClearable="True"
rubyer:InputBoxHelper.Watermark="请选择日期"
SelectedDateFormat="Short"
SelectedDate="{Binding EndDate}" />
<Button Style="{DynamicResource LightButton}" Content="查询" Margin="10,0,0,0" Command="{Binding QueryCommand}"/>
<Button Style="{DynamicResource DarkButton}" Content="重置" Margin="10,0,0,0" Command="{Binding ResetCommand}"/>
</StackPanel>
</GroupBox>
<DataGrid Grid.Row="1"
rubyer:ControlHelper.MaskOpacity="1"
HorizontalContentAlignment="Center"
rubyer:HeaderHelper.Background="{StaticResource Dark}"
rubyer:HeaderHelper.FontFamily="宋体"
rubyer:HeaderHelper.FontSize="16"
rubyer:HeaderHelper.FontWeight="Bold"
rubyer:HeaderHelper.Foreground="{DynamicResource WhiteForeground}"
rubyer:HeaderHelper.HorizontalAlignment="Center"
rubyer:DataGridHelper.Loading="{Binding IsLoading}"
rubyer:ControlHelper.FocusedBrush="{DynamicResource Accent}"
后面还有 37 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
