Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes the specified property from the property grid control.
BOOL DeleteProperty(
CMFCPropertyGridProperty*& pProp,
BOOL bRedraw=TRUE,
BOOL bAdjustLayout=TRUE
);
Parameters
[in] pProp
Pointer to a property.[in] bRedraw
TRUE to redraw the property grid control; otherwise, FALSE. The default value is TRUE.[in] bAdjustLayout
TRUE to recalculate how to draw all the text, images, and items in the property grid control, and then draw the control; otherwise, FALSE. The default value is TRUE.
Return Value
TRUE if this method is successful; otherwise, FALSE.
Remarks
Use this method to delete a property, and any sub-items, from the property grid control.
Requirements
Header: afxPropertyGridCtrl.h