## wxPropertySheet

The wxPropertySheet class is used for storing a number of wxProperty objects (essentially names and values).

See also

wxPropertySheet overview

Members

wxPropertySheet::wxPropertySheet
wxPropertySheet::~wxPropertySheet
wxPropertySheet::AddProperty
wxPropertySheet::Clear
wxPropertySheet::GetName
wxPropertySheet::GetProperty
wxPropertySheet::GetProperties
wxPropertySheet::HasProperty
wxPropertySheet::RemoveProperty
wxPropertySheet::SetName
wxPropertySheet::SetProperty
wxPropertySheet::SetAllModified

### wxPropertySheet::wxPropertySheet

void wxPropertySheet(const wxString name = "")

Constructor. Sets property sheet's name to name if present.

### wxPropertySheet::~wxPropertySheet

void ~wxPropertySheet()

Destructor. Destroys all contained properties.

### wxPropertySheet::AddProperty

void AddProperty(wxProperty *property)

Adds a property to the sheet.

### wxPropertySheet::Clear

void Clear()

Clears all the properties from the sheet (deleting them).

### wxPropertySheet::GetName

wxString GetName()

Gets the sheet's name.

### wxPropertySheet::GetProperty

wxProperty * GetProperty(wxString name)

Gets a property by name.

### wxPropertySheet::GetProperties

wxList& GetProperties()

Returns a reference to the internal list of properties.

### wxPropertySheet::HasProperty

bool HasProperty(wxString propname)

Returns true if sheet contains property propname.

### wxPropertySheet::RemoveProperty

void RemoveProperty(wxString propname)

Removes property propname from sheet, deleting it.

### wxPropertySheet::SetName

void SetName(wxString sheetname)

Set the sheet's name to sheetname

### wxPropertySheet::SetProperty

bool SetProperty(wxString propname, wxPropertyValue value)

Sets property propname to value. Returns false if property is not a member of sheet.

### wxPropertySheet::SetAllModified

void SetAllModified(bool flag)

Sets the 'modified' flag of each property value.