| | |
| | | set => RaiseAndSetIfChanged(ref _title, value); |
| | | } |
| | | |
| | | private string _header; |
| | | public string header |
| | | { |
| | | get => _header; |
| | | set => RaiseAndSetIfChanged(ref _header, value); |
| | | } |
| | | |
| | | private ObservableCollection<string> _exceptions; |
| | | |
| | | public ObservableCollection<string> exceptions |
| | |
| | | } |
| | | |
| | | |
| | | public MultiExWindow(DependencyObject parent, string title, List<string> exceptions) |
| | | public MultiExWindow(DependencyObject parent, string title, List<string> exceptions,string header = "异常信息") |
| | | { |
| | | this.title = title; |
| | | this.header = header; |
| | | InitializeComponent(); |
| | | DataContext = this; |
| | | table.Columns[0].Header = header; |
| | | if (exceptions == null) |
| | | { |
| | | this.exceptions = new ObservableCollection<string>(); |