PropertyBag Members

The PropertyBag type exposes the following members.

Constructors


  Name Description
Public method PropertyBag
This is the simplest implementation of PropertyBagBase. It supports normal property-change notifications and validation events.

Methods


  Name Description
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Get<(Of <<'(T>)>>)
Fetches a value, returning Default(T) if it doesn't exist.
(Inherited from PropertyBagBase.)
Public method GetDefault<(Of <<'(T>)>>)
Fetches a value, using the default value it if it doesn't exist.
(Inherited from PropertyBagBase.)
Public method GetHashCode (Inherited from Object.)
Protected method GetInternalValues
Public method GetNew<(Of <<'(T>)>>)(Func<(Of <<'(T>)>>), String)
Fetches a value, creating it if it doesn't exist.
(Inherited from PropertyBagBase.)
Public method GetNew<(Of <<'(T>)>>)(String)
Fetches a value, creating it if it doesn't exist.
(Inherited from PropertyBagBase.)
Protected method GetPropertyIndex
Gets the index of the property.
(Inherited from PropertyBagBase.)
Public method GetType (Inherited from Object.)
Public method GetValue
Implementors need to override this to return the indicated value.
Public method IsDefined
This property indicates whether or not the associated property was created.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnRevalidateObject
Triggers the RevalidateObject event.
(Inherited from PropertyBagBase.)
Protected method OnRevalidateProperty
Triggers the RevalidateProperty event.
(Inherited from PropertyBagBase.)
Public method RevalidateAll
Uses the property metadata to trigger validation on all model properties. Then requests validation on the object itself.
(Inherited from PropertyBagBase.)
Public method Set(Nullable<(Of <<'(Object>)>>), PropertySetModes, String, Nullable<(Of <<'(Object>)>>)%)
Implementors need to override this to save the indicated value.
Public method Set(Nullable<(Of <<'(Object>)>>), PropertySetModes, String)
Set the indicated property to the value. If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
(Inherited from PropertyBagBase.)
Public method Set(Nullable<(Of <<'(Object>)>>), String)
Set the indicated property to the value. If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
(Inherited from PropertyBagBase.)
Public method Set<(Of <<'(T>)>>)(T, ValueChanged<(Of <<'(T>)>>), String)
Set the indicated property to the value. If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
(Inherited from PropertyBagBase.)
Public method Set<(Of <<'(T>)>>)(T, PropertyChangedEventHandler, String)
Set the indicated property to the value. If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
(Inherited from PropertyBagBase.)
Public method Set<(Of <<'(T>)>>)(T, NotifyCollectionChangedEventHandler, String)
Set the indicated property to the value. If the value doesn't match the previous value, or if there is no previous value, raise a property changed notification.
(Inherited from PropertyBagBase.)
Protected method SetInternalValues
Replaces the internal values array.
Public method ToString (Inherited from Object.)

Properties


  Name Description
Public property Metadata
Cached metadata for the associated model.
(Inherited from PropertyBagBase.)

Events


  Name Description
Public event PropertyChanged
This fires for each changed property.
(Inherited from PropertyBagBase.)
Public event PropertyChanging
Occurs just before a property value is changed.
(Inherited from PropertyBagBase.)
Public event RevalidateObject
This fires after one or more properties have been changed and their corresponding RevalidateProperty events have been handled.
(Inherited from PropertyBagBase.)
Public event RevalidateProperty
This fires after one or more properties have been changed.
(Inherited from PropertyBagBase.)