| Version: 3.0.4

Public Member Functions | List of all members
wxPropertyGridIteratorBase Class Reference
Class List by Category » wxPropertyGrid

`#include </usr/src/ports/wxWidgets3.0/wxWidgets3.0-3.0.4-1.x86_64/src/wxWidgets-3.0.4/interface/wx/propgrid/propgridpagestate.h>`

Inheritance diagram for wxPropertyGridIteratorBase:
[legend]

## Detailed Description

# wxPropertyGridIterator

Preferable way to iterate through contents of wxPropertyGrid, wxPropertyGridManager, and wxPropertyGridPage.

See wxPropertyGridInterface::GetIterator() for more information about usage.

##

Library: wxPropertyGrid

<>< =''>:</>&;&;< =''>\ </></>

## Public Member Functions
| wxPropertyGridIteratorBase ()
void | Assign (const wxPropertyGridIteratorBase &it)
bool | AtEnd () const
wxPGProperty * | GetProperty () const
| Get current property. More...
void | Init (wxPropertyGridPageState *state, int flags, wxPGProperty *property, int dir=1)
void | Init (wxPropertyGridPageState *state, int flags, int startPos=wxTOP, int dir=0)
void | Next (bool iterateChildren=true)
| Iterate to the next property. More...
void | Prev ()
| Iterate to the previous property. More...
void | SetBaseParent (wxPGProperty *baseParent)
| Set base parent, ie a property when, in which iteration returns, it ends. More...

## Constructor & Destructor Documentation

## ◆ wxPropertyGridIteratorBase()

wxPropertyGridIteratorBase::wxPropertyGridIteratorBase | ( |  | ) |

## Member Function Documentation

## ◆ Assign()

void wxPropertyGridIteratorBase::Assign | ( | const wxPropertyGridIteratorBase & | it | ) |

## ◆ AtEnd()

bool wxPropertyGridIteratorBase::AtEnd | ( |  | ) | const

## ◆ GetProperty()

wxPGProperty* wxPropertyGridIteratorBase::GetProperty | ( |  | ) | const

Get current property.

## ◆ Init() [1/2]

void wxPropertyGridIteratorBase::Init | ( | wxPropertyGridPageState * | state,
|  | int | flags,
|  | wxPGProperty * | property,
|  | int | dir = `1`
| ) |  |

## ◆ Init() [2/2]

void wxPropertyGridIteratorBase::Init | ( | wxPropertyGridPageState * | state,
|  | int | flags,
|  | int | startPos = `wxTOP`,
|  | int | dir = `0`
| ) |  |

## ◆ Next()

void wxPropertyGridIteratorBase::Next | ( | bool | iterateChildren = `true` | ) |

Iterate to the next property.

## ◆ Prev()

void wxPropertyGridIteratorBase::Prev | ( |  | ) |

Iterate to the previous property.

## ◆ SetBaseParent()

void wxPropertyGridIteratorBase::SetBaseParent | ( | wxPGProperty * | baseParent | ) |

Set base parent, ie a property when, in which iteration returns, it ends.

Default base parent is the root of the used wxPropertyGridPageState.