SaleWPF/Views/MoveGoodsUC.xaml

(完整代码) 1KB

<UserControl x:Class="SaleWPF.Views.MoveGoodsUC"
             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:viewmodels="clr-namespace:SaleWPF.ViewModels"
 d:DataContext="{d:DesignInstance Type=viewmodels:MoveGoodsViewModel}"
             xmlns:local="clr-namespace:SaleWPF.Views"
             mc:Ignorable="d" 
             >
    <Grid Margin="10"
   rubyer:GridHelper.ColumnDefinitions="Auto, *"
   rubyer:GridHelper.RowDefinitions="Auto,Auto, Auto, Auto"
   rubyer:PanelHelper.Spacing="10">

        <TextBlock Text="商品"  />
        <TextBox 
          Grid.Column="1"
          Width="180"
          Margin="10 0"
          Text="{Binding GoodsName}" BorderThickness="0" IsReadOnly="True" />

        <TextBlock Grid.Row="1" Text="转移至" />
        <ComboBox Grid.Row="1" Grid.Column="1" Width="180" ItemsSource="{Binding CateList}"  DisplayMemberPath="Value" SelectedValuePath="Key" SelectedValue="{Binding GoodsTypdId }"/>

        <Button Grid.Row="3"
         Grid.ColumnSpan="2"
         Command="{Binding SaveCommand}"
         Content="保存" />
    </Grid>
</UserControl>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。