PropertyBag Properties |
The PropertyBag type exposes the following members.
Name | Description | |
---|---|---|
DefaultProperty |
Gets or sets the name of the default property in the collection.
| |
PropertySpecifications |
Gets the collection of properties contained within this PropertyBag.
| |
ValueGetterFunc |
Gets or sets the value getter func, which is a Func used in OnGetValue, when set, instead of raising an event. Use this func instead of
the event to avoid memory leaks due to event handlers which keep the property bag in memory as long as the creating code is kept in memory: this func
has a reference to the value container instead of to the property bag.
| |
ValueSetterFunc |
Gets or sets the value setter func, which is a Func used in OnSetValue, when set, instead of raising an event. Use this func instead of
the event to avoid memory leaks due to event handlers which keep the property bag in memory as long as the creating code is kept in memory: this func
has a reference to the value container instead of to the property bag.
|