PropertyBag Class |
Namespace: SD.Tools.Algorithmia.GeneralDataStructures.PropertyEditing
The PropertyBag type exposes the following members.
Name | Description | |
---|---|---|
PropertyBag |
Initializes a new instance of the PropertyBag class.
|
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.
|
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.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnGetValue |
Raises the GetValue event, if ValueGetterFunc is left null, otherwise it will call ValueGetterFunc instead.
| |
OnSetValue |
Raises the SetValue event, if ValueGetterFunc is left null, otherwise it will call ValueGetterFunc instead.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
GetValue |
Event which is raised when a PropertyGrid requests the value of a property.
| |
SetValue |
Event which is raised when the user changes the value of a property in a PropertyGrid.
|
Name | Description | |
---|---|---|
ICustomTypeDescriptorGetAttributes |
Returns a collection of custom attributes for this instance of a component.
| |
ICustomTypeDescriptorGetClassName |
Returns the class name of this instance of a component.
| |
ICustomTypeDescriptorGetComponentName |
Returns the name of this instance of a component.
| |
ICustomTypeDescriptorGetConverter |
Returns a type converter for this instance of a component.
| |
ICustomTypeDescriptorGetDefaultEvent |
Returns the default event for this instance of a component.
| |
ICustomTypeDescriptorGetDefaultProperty |
Returns the default property for this instance of a component.
| |
ICustomTypeDescriptorGetEditor |
Returns an editor of the specified type for this instance of a component.
| |
ICustomTypeDescriptorGetEvents |
Returns the events for this instance of a component.
| |
ICustomTypeDescriptorGetEvents(Attribute) |
Returns the events for this instance of a component using the specified attribute array as a filter.
| |
ICustomTypeDescriptorGetProperties |
Returns the properties for this instance of a component.
| |
ICustomTypeDescriptorGetProperties(Attribute) |
Returns the properties for this instance of a component using the attribute array as a filter.
| |
ICustomTypeDescriptorGetPropertyOwner |
Returns an object that contains the property described by the specified property descriptor.
|