# C1.WPF.PropertyGrid.GridLengthEditorControl

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_PropertyGrid_GridLengthEditorControl" data-uid="C1.WPF.PropertyGrid.GridLengthEditorControl" class="text-break">GridLengthEditorControl Class
</h1>
  <div class="markdown level0 summary"><p>Editor of <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.gridlength">GridLength</a> values.</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"><span class="xref">GridLengthEditorControl</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.PropertyGrid.html">C1.WPF.PropertyGrid</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PropertyGrid.dll</h6>
  <h5 id="C1_WPF_PropertyGrid_GridLengthEditorControl_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Unit&quot;, Type = typeof(C1ComboBox))]
[TemplatePart(Name = &quot;Value&quot;, Type = typeof(C1NumericBox))]
public class GridLengthEditorControl : C1View</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;Unit&quot;, Type:=GetType(C1ComboBox))&gt;
&lt;TemplatePart(Name:=&quot;Value&quot;, Type:=GetType(C1NumericBox))&gt;
Public Class GridLengthEditorControl
    Inherits C1View</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_WPF_PropertyGrid_GridLengthEditorControl__ctor" data-uid="C1.WPF.PropertyGrid.GridLengthEditorControl.#ctor">
          <a class="xref" href="C1.WPF.PropertyGrid.GridLengthEditorControl.-ctor.html#C1_WPF_PropertyGrid_GridLengthEditorControl__ctor">GridLengthEditorControl()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.PropertyGrid.GridLengthEditorControl.html">GridLengthEditorControl</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_PropertyGrid_GridLengthEditorControl_IsReadOnlyProperty" data-uid="C1.WPF.PropertyGrid.GridLengthEditorControl.IsReadOnlyProperty">
          <a class="xref" href="C1.WPF.PropertyGrid.GridLengthEditorControl.IsReadOnlyProperty.html">IsReadOnlyProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.PropertyGrid.GridLengthEditorControl.IsReadOnly.html#C1_WPF_PropertyGrid_GridLengthEditorControl_IsReadOnly">IsReadOnly</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_PropertyGrid_GridLengthEditorControl_ValueProperty" data-uid="C1.WPF.PropertyGrid.GridLengthEditorControl.ValueProperty">
          <a class="xref" href="C1.WPF.PropertyGrid.GridLengthEditorControl.ValueProperty.html">ValueProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.PropertyGrid.GridLengthEditorControl.Value.html#C1_WPF_PropertyGrid_GridLengthEditorControl_Value">Value</a> dependency property.</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_WPF_PropertyGrid_GridLengthEditorControl_IsReadOnly" data-uid="C1.WPF.PropertyGrid.GridLengthEditorControl.IsReadOnly">
          <a class="xref" href="C1.WPF.PropertyGrid.GridLengthEditorControl.IsReadOnly.html#C1_WPF_PropertyGrid_GridLengthEditorControl_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_PropertyGrid_GridLengthEditorControl_Value" data-uid="C1.WPF.PropertyGrid.GridLengthEditorControl.Value">
          <a class="xref" href="C1.WPF.PropertyGrid.GridLengthEditorControl.Value.html#C1_WPF_PropertyGrid_GridLengthEditorControl_Value">Value</a>
        </td>
        <td class="markdown level1 summary"></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_WPF_PropertyGrid_GridLengthEditorControl_Dispose_System_Boolean_" data-uid="C1.WPF.PropertyGrid.GridLengthEditorControl.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.PropertyGrid.GridLengthEditorControl.Dispose.html#C1_WPF_PropertyGrid_GridLengthEditorControl_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_PropertyGrid_GridLengthEditorControl_OnApplyTemplate" data-uid="C1.WPF.PropertyGrid.GridLengthEditorControl.OnApplyTemplate">
          <a class="xref" href="C1.WPF.PropertyGrid.GridLengthEditorControl.OnApplyTemplate.html#C1_WPF_PropertyGrid_GridLengthEditorControl_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_PropertyGrid_GridLengthEditorControl_ValueChanged" data-uid="C1.WPF.PropertyGrid.GridLengthEditorControl.ValueChanged">
          <a class="xref" href="C1.WPF.PropertyGrid.GridLengthEditorControl.ValueChanged.html">ValueChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the value changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
