ViewModel Methods |
The ViewModel type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetErrors |
Gets all error messages of the specified property. If the propertyName is null all error messages will be returned.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetPropertyErrors |
Gets all error messages of the specified property. If the propertyName is null all error messages will be returned.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IsValueValidTValue |
Can be used to check whether a value is valid.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnErrorsChanged |
Raised when the validation state of the view model has changed (e.g. error added or removed).
|
![]() | OnPropertyChanged |
Method called to fire a PropertyChanged event.
Also raises the PropertyChanged event to support binding.
|
![]() | PropertyHasError |
Checks whether the specified property has errors or is valid.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TrySetValueTValue(TValue, TValue, String) |
Generic property setter. Sets the value of any property of the extending view model by passing in a the corresponding property backing field. Automatically raises the PropertyChanged event for this property.
|
![]() | TrySetValueTValue(TValue, FuncTValue, ValueTupleBoolean, IEnumerableString, TValue, Boolean, Boolean, String) |
Sets the value of the referenced property and executes a validation delegate.
|
![]() | TrySetValueSilentTValue(TValue, TValue, String) |
Generic property setter. Silently sets the value of any property of the extending view model by passing in a the corresponding property backing field. Suppresses a PropertyChanged event for this property.
|
![]() | TrySetValueSilentTValue(TValue, FuncTValue, ValueTupleBoolean, IEnumerableString, TValue, Boolean, Boolean, String) |
Silently sets the value of the referenced property without raising PropertyChanged and executes a validation delegate.
|
Name | Description | |
---|---|---|
![]() | ToDictionary | Overloaded.
Coverts any type to a DictionaryTKey, TValue, where the TKey is the member name and TValue the member's value.
(Defined by HelperExtensions.) |
![]() | ToDictionary | Overloaded.
Coverts any type to a DictionaryTKey, TValue, where the TKey is the member name and TValue the member's value.
(Defined by HelperExtensions.) |