Click or drag to resize
PropertyBag Properties

The PropertyBag type exposes the following members.

Properties
  NameDescription
Public propertyDefaultProperty
Gets or sets the name of the default property in the collection.
Public propertyPropertySpecifications
Gets the collection of properties contained within this PropertyBag.
Public propertyValueGetterFunc
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.
Public propertyValueSetterFunc
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.
Top
See Also