# C1.WPF.C1PropertyPathHelper

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_C1PropertyPathHelper" data-uid="C1.WPF.C1PropertyPathHelper" class="text-break">C1PropertyPathHelper Class
</h1>
  <div class="markdown level0 summary"><p>Provides helper methods to work with <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.linq.expressions.expression">Expression</a> and property paths.</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">C1PropertyPathHelper</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.html">C1.WPF</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.4.6.2.dll</h6>
  <h5 id="C1_WPF_C1PropertyPathHelper_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class C1PropertyPathHelper</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module C1PropertyPathHelper</code></pre>
  </div>
  <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_C1PropertyPathHelper_CreateSelector__1_System_Type_System_String_" data-uid="C1.WPF.C1PropertyPathHelper.CreateSelector``1(System.Type,System.String)">
          <a class="xref" href="C1.WPF.C1PropertyPathHelper.CreateSelector.html#C1_WPF_C1PropertyPathHelper_CreateSelector__1_System_Type_System_String_">CreateSelector&lt;X&gt;(Type, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a function that when called execute the path expression over the specified object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1PropertyPathHelper_CreateSelector__2_System_String_" data-uid="C1.WPF.C1PropertyPathHelper.CreateSelector``2(System.String)">
          <a class="xref" href="C1.WPF.C1PropertyPathHelper.CreateSelector.html#C1_WPF_C1PropertyPathHelper_CreateSelector__2_System_String_">CreateSelector&lt;T, X&gt;(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a Function to evaluate a given property path on a given object.
<example>
For the property path: MyProperty1.MyProperty2
it will return the following function:
i =&gt; i.MyProperty1.MyProperty2
</example></p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_C1PropertyPathHelper_GetPropertyPathValue_System_Object_System_String_" data-uid="C1.WPF.C1PropertyPathHelper.GetPropertyPathValue(System.Object,System.String)">
          <a class="xref" href="C1.WPF.C1PropertyPathHelper.GetPropertyPathValue.html#C1_WPF_C1PropertyPathHelper_GetPropertyPathValue_System_Object_System_String_">GetPropertyPathValue(object, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value resulting from applying the property path to the item.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
