# GrapeCity.ActiveReports.Framework.Implementation.MapTreeSelectedItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Framework_Implementation_MapTreeSelectedItem" data-uid="GrapeCity.ActiveReports.Framework.Implementation.MapTreeSelectedItem" class="text-break">MapTreeSelectedItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents a behavior that maps the MouseLeftButtonUp event of items to updates of the attached SelectedItem property.</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.windows.threading.dispatcherobject">DispatcherObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.dependencyobject">DependencyObject</a></div>
    <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.Behavior-1.html">Behavior</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.treeview">TreeView</a>&gt;</div>
    <div class="level4"><span class="xref">MapTreeSelectedItem</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.Framework.Behaviors.IBehavior.html">IBehavior</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.html">GrapeCity.ActiveReports.Framework.Implementation</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Wpf.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Framework_Implementation_MapTreeSelectedItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MapTreeSelectedItem : Behavior&lt;TreeView&gt;, IBehavior</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="GrapeCity_ActiveReports_Framework_Implementation_MapTreeSelectedItem__ctor" data-uid="GrapeCity.ActiveReports.Framework.Implementation.MapTreeSelectedItem.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.MapTreeSelectedItem.-ctor.html#GrapeCity_ActiveReports_Framework_Implementation_MapTreeSelectedItem__ctor">MapTreeSelectedItem()</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="GrapeCity_ActiveReports_Framework_Implementation_MapTreeSelectedItem_Attach_System_Windows_Controls_TreeView_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.MapTreeSelectedItem.Attach(System.Windows.Controls.TreeView)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.MapTreeSelectedItem.Attach.html#GrapeCity_ActiveReports_Framework_Implementation_MapTreeSelectedItem_Attach_System_Windows_Controls_TreeView_">Attach(TreeView)</a>
        </td>
        <td class="markdown level1 summary"><p>Attaches the behavior to the specified host.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Framework_Implementation_MapTreeSelectedItem_Detach_System_Windows_Controls_TreeView_" data-uid="GrapeCity.ActiveReports.Framework.Implementation.MapTreeSelectedItem.Detach(System.Windows.Controls.TreeView)">
          <a class="xref" href="GrapeCity.ActiveReports.Framework.Implementation.MapTreeSelectedItem.Detach.html#GrapeCity_ActiveReports_Framework_Implementation_MapTreeSelectedItem_Detach_System_Windows_Controls_TreeView_">Detach(TreeView)</a>
        </td>
        <td class="markdown level1 summary"><p>Detaches the behavior from the specified host.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
