Maria GDK 4.7.0.84
Documentation of managed code in develop branch
Loading...
Searching...
No Matches
PropertyBags.PropertyBag Class Reference

Represents a collection of custom properties that can be selected into a PropertyGrid to provide functionality beyond that of the simple reflection normally used to query an object's properties. More...

Inheritance diagram for PropertyBags.PropertyBag:
PropertyBags.PropertyTable TPG.GeoFramework.GridLayer.PropertyWrapper

Classes

class  PropertySpecCollection
 Encapsulates a collection of PropertySpec objects. More...
 

Public Member Functions

 PropertyBag ()
 Initializes a new instance of the PropertyBag class.
 

Protected Member Functions

virtual void OnGetValue (PropertySpecEventArgs e)
 Raises the GetValue event.
 
virtual void OnSetValue (PropertySpecEventArgs e)
 Raises the SetValue event.
 

Properties

string DefaultProperty [get, set]
 Gets or sets the name of the default property in the collection.
 
PropertySpecCollection Properties [get]
 Gets the collection of properties contained within this PropertyBag.
 

Events

PropertySpecEventHandler GetValue
 Occurs when a PropertyGrid requests the value of a property.
 
PropertySpecEventHandler SetValue
 Occurs when the user changes the value of a property in a PropertyGrid.
 

Detailed Description

Represents a collection of custom properties that can be selected into a PropertyGrid to provide functionality beyond that of the simple reflection normally used to query an object's properties.

Member Function Documentation

◆ OnGetValue()

virtual void PropertyBags.PropertyBag.OnGetValue ( PropertySpecEventArgs  e)
inlineprotectedvirtual

Raises the GetValue event.

Parameters
eA PropertySpecEventArgs that contains the event data.

Reimplemented in PropertyBags.PropertyTable, and TPG.GeoFramework.GridLayer.PropertyWrapper.

◆ OnSetValue()

virtual void PropertyBags.PropertyBag.OnSetValue ( PropertySpecEventArgs  e)
inlineprotectedvirtual

Raises the SetValue event.

Parameters
eA PropertySpecEventArgs that contains the event data.

Reimplemented in PropertyBags.PropertyTable, and TPG.GeoFramework.GridLayer.PropertyWrapper.


The documentation for this class was generated from the following file: