Share via


CMFCPropertyGridCtrl::ValidateItemData

Called by the framework to validate property data.

virtual BOOL ValidateItemData(
   CMFCPropertyGridProperty* pProp
);

Parameters

Parameter

Description

[in] pProp

Pointer to a property. This parameter is not used.

Return Value

Always TRUE.

Remarks

The CMFCPropertyGridCtrl::EndEditItem method calls this method to validate data. By default, this method does not use its pProp parameter and its return value is always TRUE.

If you override this method, return TRUE if the specified property data is valid. Otherwise, return FALSE, in which case the framework does not update the property.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridCtrl Class

Hierarchy Chart

CMFCPropertyGridCtrl::EndEditItem