Interface IErrorList
Interface for an error list.
public interface IErrorList : ITool, ILayoutItem, IScreen, IHaveDisplayName, IActivate, IDeactivate, IGuardClose, IClose, INotifyPropertyChangedEx, INotifyPropertyChanged
- Inherited Members
-
IHaveDisplayName.DisplayNameIActivate.Activate()IActivate.IsActiveIActivate.ActivatedIDeactivate.AttemptingDeactivationIDeactivate.DeactivatedINotifyPropertyChangedEx.Refresh()INotifyPropertyChangedEx.IsNotifying
Properties
Items
Gets the items in the list.
ObservableCollection<IErrorListItem> Items { get; }
Property Value
ShowErrors
Gets or sets a value indicating whether the errors are shown.
bool ShowErrors { get; set; }
Property Value
ShowMessages
Gets or sets a value indicating whether the messages are shown.
bool ShowMessages { get; set; }
Property Value
ShowWarnings
Gets or sets a value indicating whether the warnings are shown.
bool ShowWarnings { get; set; }
Property Value
Methods
AddItem(ErrorListItemType, ITranslation, string, int?, int?, Action)
Adds an item to the list.
void AddItem(ErrorListItemType itemType, ITranslation description, string path = null, int? line = null, int? column = null, Action onClick = null)
Parameters
itemType
ErrorListItemTypeType for the item.
description
ITranslationDescription for the item.
path
stringPath of the file where the error occurred.
line
int?Line in the file where the error occurred.
column
int?Column in the file where the error occurred.
onClick
ActionAn action which is executed on clicking the item in the list.