Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

bool wxPropertyContainerMethods::HideProperty ( wxPGId  id,
bool  hide = true 
) [inherited]

Hides or reveals a property.

Parameters:
hideIf true, hides property, otherwise reveals it.
Remarks:
Hiding properties is not compatible with priority system. Using both at the same time will yield unpredictable results.

Definition at line 11303 of file propgrid.cpp.

References wxPropertyGrid::Compact(), and wxPropertyContainerMethods::SetPropertyPriority().

Referenced by wxPGProperty::Hide().

{
    // Hiding properties requires that we are always in the compact mode
    m_pState->GetGrid()->Compact(true);
    return SetPropertyPriority(id,hide?wxPG_LOW:wxPG_HIGH);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index