# C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider" class="text-break">IUiaSelectionItemProvider Interface
</h1>
  <div class="markdown level0 summary"><p>Define a Selectable Item (only supported on logical elements that are a
child of an Element that supports SelectionPattern and is itself selectable).<br>
This allows for manipulation of Selection from the element itself.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.html">C1.Win.Accessibility.Items.BaseInterfaces</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IUiaSelectionItemProvider</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IUiaSelectionItemProvider</code></pre>
  </div>
  <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_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_IsSelected" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider.IsSelected">
          <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider.IsSelected.html#C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_IsSelected">IsSelected</a>
        </td>
        <td class="markdown level1 summary"><p>Check whether an element is selected</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_SelectionContainer" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider.SelectionContainer">
          <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider.SelectionContainer.html#C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_SelectionContainer">SelectionContainer</a>
        </td>
        <td class="markdown level1 summary"><p>The logical element that supports the SelectionPattern for this Item</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_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_AddToSelection" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider.AddToSelection">
          <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider.AddToSelection.html#C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_AddToSelection">AddToSelection()</a>
        </td>
        <td class="markdown level1 summary"><p>Adds current element to selection</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_RemoveFromSelection" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider.RemoveFromSelection">
          <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider.RemoveFromSelection.html#C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_RemoveFromSelection">RemoveFromSelection()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes current element from selection</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_Select" data-uid="C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider.Select">
          <a class="xref" href="C1.Win.Accessibility.Items.BaseInterfaces.IUiaSelectionItemProvider.Select.html#C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_Select">Select()</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the current element as the selection
This clears the selection from other elements in the container</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="C1.Win.Accessibility.Items.ProviderExt.AddToSelectionExt.html#C1_Win_Accessibility_Items_ProviderExt_AddToSelectionExt_C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_C1_Win_Accessibility_UiaItem_">ProviderExt.AddToSelectionExt(IUiaSelectionItemProvider, UiaItem)</a>
  </div>
  <div>
      <a class="xref" href="C1.Win.Accessibility.Items.ProviderExt.RemoveFromSelectionExt.html#C1_Win_Accessibility_Items_ProviderExt_RemoveFromSelectionExt_C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_C1_Win_Accessibility_UiaItem_">ProviderExt.RemoveFromSelectionExt(IUiaSelectionItemProvider, UiaItem)</a>
  </div>
  <div>
      <a class="xref" href="C1.Win.Accessibility.Items.ProviderExt.SelectExt.html#C1_Win_Accessibility_Items_ProviderExt_SelectExt_C1_Win_Accessibility_Items_BaseInterfaces_IUiaSelectionItemProvider_C1_Win_Accessibility_UiaItem_">ProviderExt.SelectExt(IUiaSelectionItemProvider, UiaItem)</a>
  </div>

</div>
