# C1.Util.Util.GetBindingExpression

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_Util_GetBindingExpression_" data-uid="C1.Util.Util.GetBindingExpression*">GetBindingExpression Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_Util_GetBindingExpression_" data-uid="C1.Util.Util.GetBindingExpression*"></a>
<h4 id="C1_Util_Util_GetBindingExpression_System_Windows_FrameworkElement_System_Windows_FrameworkElement__System_Windows_DependencyProperty__" data-uid="C1.Util.Util.GetBindingExpression(System.Windows.FrameworkElement,System.Windows.FrameworkElement@,System.Windows.DependencyProperty@)">GetBindingExpression(FrameworkElement, out FrameworkElement, out DependencyProperty)</h4>
<div class="markdown level1 summary"><p>Returns the BindingExpression associated with an editor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BindingExpression GetBindingExpression(FrameworkElement e, out FrameworkElement child, out DependencyProperty dp)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function GetBindingExpression(e As FrameworkElement, ByRef child As FrameworkElement, ByRef dp As DependencyProperty) As BindingExpression</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></td>
      <td><span class="parametername">e</span></td>
      <td><p>Element to get the binding expression for.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></td>
      <td><span class="parametername">child</span></td>
      <td><p>Child element that contains the binding.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyproperty">DependencyProperty</a></td>
      <td><span class="parametername">dp</span></td>
      <td><p>Dependency property used in the binding.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.data.bindingexpression">BindingExpression</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
