IMruManager Interface |
Namespace: BionicCode.Utilities.Net.Framework.Wpf.Settings
public interface IMruManager : IViewModel, INotifyPropertyChanged, INotifyDataErrorInfo
The IMruManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | HasErrors | Gets a value that indicates whether the entity has validation errors. (Inherited from INotifyDataErrorInfo.) |
![]() | MaxMostRecentlyUsedCount |
The maximum number of files that are kept in the MRU table. The default value is 10. |
![]() | MostRecentlyUsedFile |
Gets the MRU file which is the last file added to the MRU table.
|
![]() | MostRecentlyUsedFiles |
A ReadOnlyObservableCollection<T> collection of MostRecentlyUsedFileItem which contains the MRU files.
|
Name | Description | |
---|---|---|
![]() | AddMostRecentlyUsedFile |
Adds a file with the specified path to the MRU table.
|
![]() | Clear |
Clears the MRU list.
|
![]() | GetErrors | Gets the validation errors for a specified property or for the entire entity. (Inherited from INotifyDataErrorInfo.) |
![]() | GetPropertyErrors |
Gets all error messages of the specified property. If the propertyName is null all error messages will be returned.
(Inherited from IViewModel.) |
![]() | PropertyHasError |
Checks whether the specified property has errors or is valid.
(Inherited from IViewModel.) |
Name | Description | |
---|---|---|
![]() | ErrorsChanged | Occurs when the validation errors have changed for a property or for the entire entity. (Inherited from INotifyDataErrorInfo.) |
![]() | FileAdded |
Raised when a new file was added to the MRU list. The event args contains the old and the new MostRecentlyUsedFileItem. Once the max MostRecentlyUsedFileItem limit is reached, the least used file will be removed from the list to make space for the new item. In this case the OldValue is the removed oldest item in the list. Otherwise OldValue will be null. |
![]() | PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged.) |
![]() | PropertyValueChanged |
PropertyChanged implementation that sends old value and new value of the change and raises the INotifyPropertyChanged event.
(Inherited from IViewModel.) |