wxPGValidationInfo Class Reference | wxWidgets

| Version: 3.2.11

Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
wxPGValidationInfo Class Reference

`#include </cygdrive/c/Users/Hamis/Cygwin-packaging/wxWidgets3.2/wxWidgets3.2-3.2.11-1.x86_64/src/wxWidgets-3.2.11/interface/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 wxString & | GetFailureMessage () const
| Returns current failure message.
wxVariant & | GetValue ()
| Returns reference to pending value.
void | SetFailureBehavior (wxPGVFBFlags failureBehavior)
| Set validation failure behaviour.
void | SetFailureMessage (const wxString &message)
| Set current failure message.

## Friends
class | wxPropertyGrid

## Member Function Documentation

## ◆ GetFailureBehavior()

wxPGVFBFlags wxPGValidationInfo::GetFailureBehavior | ( |  | ) |

Returns
  Returns failure behaviour which is a combination of wxPropertyGrid Validation Failure behaviour Flags.

## ◆ GetFailureMessage()

const wxString & wxPGValidationInfo::GetFailureMessage | ( |  | ) | const

Returns current failure message.

## ◆ GetValue()

wxVariant & wxPGValidationInfo::GetValue | ( |  | ) |

Returns reference to pending value.

## ◆ SetFailureBehavior()

void wxPGValidationInfo::SetFailureBehavior | ( | wxPGVFBFlags | failureBehavior | ) |

Set validation failure behaviour.

Parameters

  failureBehavior | Mixture of wxPropertyGrid Validation Failure behaviour Flags.

## ◆ SetFailureMessage()

void wxPGValidationInfo::SetFailureMessage | ( | const wxString & | message | ) |

Set current failure message.

## Friends And Related Symbol Documentation

## ◆ wxPropertyGrid

friend class wxPropertyGrid
| friend