The wxProperty class represents a property, with a wxPropertyValue containing the actual value, a name a role, an optional validator, and an optional associated window.
A property might correspond to an actual C++ data member, or it might correspond to a conceptual property, such as the width of a window. There is no explicit data member wxWindow::width, but it may be convenient to invent such a property for the purposes of editing attributes of the window. The properties in the property sheet can be mapped to "reality" by whatever means (in this case by calling wxWindow::SetSize when the user has finished editing the property sheet).
A validator may be associated with the property in order to ensure that this and only this validator will be used for editing and validating the property. An alternative method is to use the role parameter to specify what kind of validator would be appropriate; for example, specifying "filename" for the role would allow the property view to find an appropriate validator at edit time.
wxProperty::wxProperty
wxProperty::~wxProperty
wxProperty::GetValue
wxProperty::GetValidator
wxProperty::GetName
wxProperty::GetRole
wxProperty::GetWindow
wxProperty::SetValue
wxProperty::SetName
wxProperty::SetRole
wxProperty::SetValidator
wxProperty::SetWindow
wxProperty::operator =