.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc



.. _wx.propgrid.PGInDialogValidator:

==========================================================================================================================================
|phoenix_title|  **wx.propgrid.PGInDialogValidator**
==========================================================================================================================================

Creates and manages a temporary :ref:`wx.TextCtrl`  for validation purposes. 
         

Uses :ref:`wx.propgrid.PropertyGrid`'s current editor, if available. 
          




|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>PGInDialogValidator</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.propgrid.PGInDialogValidator_inheritance.svg" alt="Inheritance diagram of PGInDialogValidator" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.propgrid.PGInDialogValidator.html" title="Creates and manages a temporary wx.TextCtrl  for validation purposes." alt="" coords="5,5,266,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.propgrid.PGInDialogValidator.__init__`                                
:meth:`~wx.propgrid.PGInDialogValidator.DoValidate`                              
================================================================================ ================================================================================


|


|api| Class API
===============


.. class:: wx.propgrid.PGInDialogValidator(object)

   **Possible constructors**::

       PGInDialogValidator() -> None
       
   
   Creates and manages a temporary TextCtrl for validation purposes.



   .. method:: __init__(self)



      :rtype: `None`     








   .. method:: DoValidate(self, propGrid, validator, value)




      :param `propGrid`: 
      :type `propGrid`: wx.propgrid.PropertyGrid
      :param `validator`: 
      :type `validator`: wx.Validator
      :param `value`: 
      :type `value`: string




      :rtype: `bool`







