ValidationModelBase Class |
Namespace: Xcalibur.Extensions.MVVM.Models
The ValidationModelBase type exposes the following members.
Name | Description | |
---|---|---|
HasValidationErrors |
Gets or sets a value indicating whether this instance has validation errors.
| |
Identifier |
Gets the identifier.
(Inherited from ModelBase.) | |
IsActive |
Gets or sets a value indicating whether this instance is active.
(Inherited from ModelBase.) | |
ValidationExceptionItems |
Gets or sets the validation exception items.
|
Name | Description | |
---|---|---|
AddValidation |
Sets a property to validate on update.
Note: validation attributes must be set on the property for this to work.
| |
ClearSubscriptions |
Clears all subscriptions from the instance.
(Inherited from ModelBase.) | |
ClearSubscriptions(String, NullableGuid) |
Clears subscriptions for a specific property, or if one is not specified; all
subscriptions to the instance.
(Inherited from ModelBase.) | |
ClearSubscriptionsT(ExpressionFuncT, NullableGuid) |
Clears subscriptions for a specific property, or if one is not specified; all
subscriptions to the instance.
(Inherited from ModelBase.) | |
ClearValidation |
Clears all properties from validation.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
NotifyOfChangeT(ExpressionFuncT, T, T, Action) |
Updates a property directly by comparing values and then firing its
OnPropertyChanged event if necessary.
(Inherited from ModelBase.) | |
NotifyOfChangeT(String, T, T, Action) |
Updates a property directly by comparing values and then firing its
OnPropertyChanged event if necessary.
(Inherited from ModelBase.) | |
NotifyOfChangeT(T, T, String, Action) |
Updates a property directly by comparing values and then firing its
OnPropertyChanged event if necessary.
(Inherited from ModelBase.) | |
RemoveValidation |
Removes a property from validating on update.
| |
Subscribe(String, ActionObject, NullableGuid) |
Subscribes an action to a specific property that will be called
during that property's OnPropertyChanged event.
(Inherited from ModelBase.) | |
SubscribeT(ExpressionFuncT, ActionObject, NullableGuid) |
Subscribes an action to a specific property that will be called
during that property's OnPropertyChanged event.
(Inherited from ModelBase.) | |
ToString |
Returns a String that represents this instance.
(Inherited from ModelBase.) | |
UpdateProperty(String, Action) |
Informs a property that it should invoke its OnPropertyChanged event.
(Inherited from ModelBase.) | |
UpdatePropertyT(ExpressionFuncT, Action) |
Informs a property that it should invoke its OnPropertyChanged event.
(Inherited from ModelBase.) | |
ValidateAll |
Validates all items in the validation pool.
|
Name | Description | |
---|---|---|
PropertyChanged |
Occurs when a property value changes.
(Inherited from ModelBase.) |