Click or drag to resize

PropertyTable Class

An extension of PropertyBag that manages a table of property values, in addition to firing events when property values are requested or set.
Inheritance Hierarchy
SystemObject
  SD.Tools.Algorithmia.GeneralDataStructures.PropertyEditingPropertyBag
    SD.Tools.Algorithmia.GeneralDataStructures.PropertyEditingPropertyTable

Namespace:  SD.Tools.Algorithmia.GeneralDataStructures.PropertyEditing
Assembly:  SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.4.0.0 (1.4.19.0711)
Syntax
public class PropertyTable : PropertyBag

The PropertyTable type exposes the following members.

Constructors
  NameDescription
Public methodPropertyTable
Initializes a new instance of the PropertyTable class.
Top
Properties
  NameDescription
Public propertyDefaultProperty
Gets or sets the name of the default property in the collection.
(Inherited from PropertyBag.)
Public propertyItem
Gets or sets the value of the property with the specified name.

In C#, this property is the indexer of the PropertyTable class.

Public propertyPropertySpecifications
Gets the collection of properties contained within this PropertyBag.
(Inherited from 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.
(Inherited from PropertyBag.)
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.
(Inherited from PropertyBag.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnGetValue
This member overrides PropertyBag.OnGetValue.
(Overrides PropertyBagOnGetValue(PropertySpecificationEventArgs).)
Protected methodOnSetValue
This member overrides PropertyBag.OnSetValue.
(Overrides PropertyBagOnSetValue(PropertySpecificationEventArgs).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventGetValue
Event which is raised when a PropertyGrid requests the value of a property.
(Inherited from PropertyBag.)
Public eventSetValue
Event which is raised when the user changes the value of a property in a PropertyGrid.
(Inherited from PropertyBag.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodICustomTypeDescriptorGetAttributes
Returns a collection of custom attributes for this instance of a component.
(Inherited from PropertyBag.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetClassName
Returns the class name of this instance of a component.
(Inherited from PropertyBag.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetComponentName
Returns the name of this instance of a component.
(Inherited from PropertyBag.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetConverter
Returns a type converter for this instance of a component.
(Inherited from PropertyBag.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetDefaultEvent
Returns the default event for this instance of a component.
(Inherited from PropertyBag.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetDefaultProperty
Returns the default property for this instance of a component.
(Inherited from PropertyBag.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetEditor
Returns an editor of the specified type for this instance of a component.
(Inherited from PropertyBag.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetEvents
Returns the events for this instance of a component.
(Inherited from PropertyBag.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetEvents(Attribute)
Returns the events for this instance of a component using the specified attribute array as a filter.
(Inherited from PropertyBag.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetProperties
Returns the properties for this instance of a component.
(Inherited from PropertyBag.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetProperties(Attribute)
Returns the properties for this instance of a component using the attribute array as a filter.
(Inherited from PropertyBag.)
Explicit interface implementationPrivate methodICustomTypeDescriptorGetPropertyOwner
Returns an object that contains the property described by the specified property descriptor.
(Inherited from PropertyBag.)
Top
See Also