Class ExceptionViewerDialogViewModel
Implements the view model for unhandled exception viewer.
Inheritance
System.Object
ExceptionViewerDialogViewModel
Implements
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.INotifyDataErrorInfo
System.ComponentModel.IDataErrorInfo
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls.ExceptionsViewerDialog.ViewModels
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
[Export]
public class ExceptionViewerDialogViewModel : ContentDialogContextViewModelBase, INotifyPropertyChanged, INotifyDataErrorInfo, INotifyDataPropertyChanged, IActiveAware, IClosingAware, IBusyAware, IContentDialogContext, IDialogContext, IDataErrorInfo, IContentDialogTitleInfo
Constructors
View SourceExceptionViewerDialogViewModel(IExceptionsRepository, IMessageDialog, IOverlayEffect, IMAPI)
Initializes a new instance of the ExceptionViewerDialogViewModel class.
Declaration
[ImportingConstructor]
public ExceptionViewerDialogViewModel(IExceptionsRepository exceptionsRepository, IMessageDialog messageDialog, IOverlayEffect overlayEffect, IMAPI mapi)
Parameters
Type | Name | Description |
---|---|---|
IExceptionsRepository | exceptionsRepository | An implementation of IExceptionsRepository. |
IMessageDialog | messageDialog | An implementation of IMessageDialog. |
IOverlayEffect | overlayEffect | An implementation of IOverlayEffect. |
IMAPI | mapi | An implementation of IMAPI. |
Properties
View SourceFavoriteSelectionHeader
Gets or sets gets the header text for filters selection dialog header.
Declaration
public string FavoriteSelectionHeader { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FilterHeaderText
Gets or sets gets the header text for filters.
Declaration
public string FilterHeaderText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HasItems
Gets a value indicating whether there are any items in the view.
Declaration
public bool HasItems { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
HintHeader
Gets or sets the hint header.
Declaration
public string HintHeader { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HintText
Gets or sets a hint text that indicates why there is no data.
Declaration
public string HintText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SelectedItem
Gets or sets the selected item.
Declaration
public ExceptionEntity SelectedItem { get; set; }
Property Value
Type | Description |
---|---|
ExceptionEntity |
SourceItems
Gets the list of items for displaying in the UI view.
Declaration
public GenericCollectionView<ExceptionEntity> SourceItems { get; set; }
Property Value
Type | Description |
---|---|
GenericCollectionView<ExceptionEntity> |
TitleInfo
Gets or sets additional info for dialog title.
Declaration
public string TitleInfo { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Implements
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.INotifyDataErrorInfo
System.ComponentModel.IDataErrorInfo