+/**
+ wxPGValidationInfo
+
+ Used to convey validation information to and from functions that
+ actually perform validation. Mostly used in custom property classes.
+*/
+class wxPGValidationInfo
+{
+public:
+ /**
+ @return Returns failure behavior which is a combination of
+ @ref propgrid_vfbflags.
+ */
+ wxPGVFBFlags GetFailureBehavior();
+
+ /**
+ Returns current failure message.
+ */
+ const wxString& GetFailureMessage() const;
+
+ /**
+ Returns reference to pending value.
+ */
+ const wxVariant& GetValue() const;
+
+ /** Set validation failure behavior
+
+ @param failureBehavior
+ Mixture of @ref propgrid_vfbflags.
+ */
+ void SetFailureBehavior(wxPGVFBFlags failureBehavior);
+
+ /**
+ Set current failure message.
+ */
+ void SetFailureMessage(const wxString& message);
+};
+