# C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs" data-uid="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs" class="text-break">OwnerDrawOutlineButtonEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Provides data for the <a class="xref" href="C1.Win.FlexGrid.C1FlexGridBase.OwnerDrawOutlineButton.html">OwnerDrawOutlineButton</a> event.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></div>
    <div class="level2"><span class="xref">OwnerDrawOutlineButtonEventArgs</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexGrid.html">C1.Win.FlexGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexGrid.10.dll</h6>
  <h5 id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class OwnerDrawOutlineButtonEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class OwnerDrawOutlineButtonEventArgs
    Inherits EventArgs</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs__ctor_C1_Win_FlexGrid_C1FlexGridBase_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_C1_Win_FlexGrid_CellStyle_System_Drawing_Rectangle_System_String_System_Drawing_Image_" data-uid="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.#ctor(C1.Win.FlexGrid.C1FlexGridBase,System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,C1.Win.FlexGrid.CellStyle,System.Drawing.Rectangle,System.String,System.Drawing.Image)">
          <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.-ctor.html#C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs__ctor_C1_Win_FlexGrid_C1FlexGridBase_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_C1_Win_FlexGrid_CellStyle_System_Drawing_Rectangle_System_String_System_Drawing_Image_">OwnerDrawOutlineButtonEventArgs(C1FlexGridBase, Graphics, int, int, int, CellStyle, Rectangle, string, Image)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.html">OwnerDrawOutlineButtonEventArgs</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Bounds" data-uid="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Bounds">
          <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Bounds.html#C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Bounds">Bounds</a>
        </td>
        <td class="markdown level1 summary"><p>Get the rectangle where the outline button will be painted (in client coordinates).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Col" data-uid="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Col">
          <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Col.html#C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Col">Col</a>
        </td>
        <td class="markdown level1 summary"><p>Get column index of the cell which contains the outline button being painted.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Graphics" data-uid="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Graphics">
          <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Graphics.html#C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Graphics">Graphics</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Graphics.html#C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Graphics">Graphics</a> object used to draw the outline button. Use this object to draw custom elements in the outline button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Handled" data-uid="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Handled">
          <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Handled.html#C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Handled">Handled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the event has finished drawing the outline button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Image" data-uid="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Image">
          <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Image.html#C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Image">Image</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the image that will be displayed in the cell.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Level" data-uid="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Level">
          <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Level.html#C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Level">Level</a>
        </td>
        <td class="markdown level1 summary"><p>Get the level of the tree which will be collapsed by clicking on the outline button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Row" data-uid="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Row">
          <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Row.html#C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Row">Row</a>
        </td>
        <td class="markdown level1 summary"><p>Get the row index of the cell which contains the outline button being painted.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Style" data-uid="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Style">
          <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Style.html#C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Sets or sets the <a class="xref" href="C1.Win.FlexGrid.CellStyle.html">CellStyle</a> object used to paint the outline button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Text" data-uid="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Text">
          <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.Text.html#C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text that will be displayed in the outline button.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_DrawOutlineButton" data-uid="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.DrawOutlineButton">
          <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.DrawOutlineButton.html#C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_DrawOutlineButton">DrawOutlineButton()</a>
        </td>
        <td class="markdown level1 summary"><p>Causes the grid to paint the whole outline button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_DrawOutlineButton_C1_Win_FlexGrid_DrawCellFlags_" data-uid="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.DrawOutlineButton(C1.Win.FlexGrid.DrawCellFlags)">
          <a class="xref" href="C1.Win.FlexGrid.OwnerDrawOutlineButtonEventArgs.DrawOutlineButton.html#C1_Win_FlexGrid_OwnerDrawOutlineButtonEventArgs_DrawOutlineButton_C1_Win_FlexGrid_DrawCellFlags_">DrawOutlineButton(DrawCellFlags)</a>
        </td>
        <td class="markdown level1 summary"><p>Causes the grid to paint parts of the outline button (background, foreground, border, etc.)</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
