123456789101112131415161718192021222324 |
- using System.Windows;
- using System.Windows.Controls;
- namespace VirgoUI.Client.Models.History.WaferHistory
- {
- /// <summary>
- /// WaferHistoryView.xaml 的交互逻辑
- /// </summary>
- public partial class WaferHistoryView : UserControl
- {
- public WaferHistoryView()
- {
- InitializeComponent();
- }
- private void dataGrid_LotList_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
- {
- dataGrid_LotList.CanUserAddRows = false;
- if (dataGrid_LotList.Items == null || dataGrid_LotList.Items.Count == 0)
- dataGrid_LotList.CanUserAddRows = true;
- }
- }
- }
|