.. 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.PGPaintData:

==========================================================================================================================================
|phoenix_title|  **wx.propgrid.PGPaintData**
==========================================================================================================================================

Contains information related to property's OnCustomPaint. 
          




|

|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>PGPaintData</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.propgrid.PGPaintData_inheritance.svg" alt="Inheritance diagram of PGPaintData" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.propgrid.PGPaintData.html" title="Contains information related to property's OnCustomPaint." alt="" coords="5,5,215,34"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|property_summary| Properties Summary
=====================================

================================================================================ ================================================================================
:attr:`~wx.propgrid.PGPaintData.m_choiceItem`                                    A public C++ attribute of type ``int``. Normally -1, otherwise index to drop-down list item that has to be drawn. 
                 
:attr:`~wx.propgrid.PGPaintData.m_drawnHeight`                                   A public C++ attribute of type ``int``. In a measure item call, set this to the height of item at m_choiceItem index. 
                 
:attr:`~wx.propgrid.PGPaintData.m_drawnWidth`                                    A public C++ attribute of type ``int``. Set to drawn width in OnCustomPaint (optional). 
                 
:attr:`~wx.propgrid.PGPaintData.m_parent`                                        A public C++ attribute of type `~wx.propgrid.PropertyGrid`     . :ref:`wx.propgrid.PropertyGrid`  
                 
================================================================================ ================================================================================


|


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


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

   Contains information related to property's OnCustomPaint.



   .. attribute:: m_choiceItem

      A public C++ attribute of type ``int``. Normally -1, otherwise index to drop-down list item that has to be drawn. 
                 


   .. attribute:: m_drawnHeight

      A public C++ attribute of type ``int``. In a measure item call, set this to the height of item at m_choiceItem index. 
                 


   .. attribute:: m_drawnWidth

      A public C++ attribute of type ``int``. Set to drawn width in OnCustomPaint (optional). 
                 


   .. attribute:: m_parent

      A public C++ attribute of type `~wx.propgrid.PropertyGrid`     . :ref:`wx.propgrid.PropertyGrid`  
                 

