共用方式為


CMFCPropertyGridProperty::Expand

Expands or collapses a property that contains sub-properties.

void Expand(
   BOOL bExpand=TRUE 
);

Parameters

  • [in] bExpand
    TRUE to expand the property; FALSE to collapse the property. The default value is TRUE.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridProperty Class

Hierarchy Chart