Version: 3.3.0
wxPGValidationInfo Class Reference

#include <wx/propgrid/propgrid.h>

Detailed Description

Used to convey validation information to and from functions that actually perform validation.

Mostly used in custom property classes.

Public Member Functions

wxPGVFBFlags GetFailureBehavior ()
const wxStringGetFailureMessage () const
 Returns current failure message. More...
const wxVariantGetValue () const
 Returns reference to pending value. More...
void SetFailureBehavior (wxPGVFBFlags failureBehavior)
 Set validation failure behaviour. More...
void SetFailureMessage (const wxString &message)
 Set current failure message. More...


class wxPropertyGrid

Member Function Documentation

◆ GetFailureBehavior()

wxPGVFBFlags wxPGValidationInfo::GetFailureBehavior ( )
Returns failure behaviour which is a combination of wxPropertyGrid Validation Failure behaviour Flags.

◆ GetFailureMessage()

const wxString& wxPGValidationInfo::GetFailureMessage ( ) const

Returns current failure message.

◆ GetValue()

const wxVariant& wxPGValidationInfo::GetValue ( ) const

Returns reference to pending value.

◆ SetFailureBehavior()

void wxPGValidationInfo::SetFailureBehavior ( wxPGVFBFlags  failureBehavior)

Set validation failure behaviour.

failureBehaviorMixture of wxPropertyGrid Validation Failure behaviour Flags.

◆ SetFailureMessage()

void wxPGValidationInfo::SetFailureMessage ( const wxString message)

Set current failure message.

Friends And Related Function Documentation

◆ wxPropertyGrid

friend class wxPropertyGrid