# C1.Win.Ribbon.RibbonToggleGroup

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Ribbon_RibbonToggleGroup" data-uid="C1.Win.Ribbon.RibbonToggleGroup" class="text-break">RibbonToggleGroup Class
</h1>
  <div class="markdown level0 summary"><p>Container for other <a class="xref" href="C1.Win.Ribbon.RibbonItem.html">RibbonItem</a> elements.
Any <a class="xref" href="C1.Win.Ribbon.RibbonToggleButton.html">RibbonToggleButton</a>s contained in this element
behave like radio buttons (checking one unchecks all others).</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.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="C1.Win.Ribbon.RibbonItem.html">RibbonItem</a></div>
    <div class="level4"><a class="xref" href="C1.Win.Ribbon.RibbonItemContainer.html">RibbonItemContainer</a></div>
    <div class="level5"><span class="xref">RibbonToggleGroup</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><span class="xref">ISupportUiaContainer</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Ribbon.html">C1.Win.Ribbon</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Ribbon.10.dll</h6>
  <h5 id="C1_Win_Ribbon_RibbonToggleGroup_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RibbonToggleGroup : RibbonItemContainer, IComponent, IDisposable, ISupportUiaContainer</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RibbonToggleGroup
    Inherits RibbonItemContainer
    Implements IComponent, IDisposable, ISupportUiaContainer</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_Win_Ribbon_RibbonToggleGroup__ctor" data-uid="C1.Win.Ribbon.RibbonToggleGroup.#ctor">
          <a class="xref" href="C1.Win.Ribbon.RibbonToggleGroup.-ctor.html#C1_Win_Ribbon_RibbonToggleGroup__ctor">RibbonToggleGroup()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.Ribbon.RibbonToggleGroup.html">RibbonToggleGroup</a>.</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_Win_Ribbon_RibbonToggleGroup_AllowAllButtonsUp" data-uid="C1.Win.Ribbon.RibbonToggleGroup.AllowAllButtonsUp">
          <a class="xref" href="C1.Win.Ribbon.RibbonToggleGroup.AllowAllButtonsUp.html#C1_Win_Ribbon_RibbonToggleGroup_AllowAllButtonsUp">AllowAllButtonsUp</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the second click will depress the button in this toggle group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonToggleGroup_Items" data-uid="C1.Win.Ribbon.RibbonToggleGroup.Items">
          <a class="xref" href="C1.Win.Ribbon.RibbonToggleGroup.Items.html#C1_Win_Ribbon_RibbonToggleGroup_Items">Items</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of child items of this <a class="xref" href="C1.Win.Ribbon.RibbonToggleGroup.html">RibbonToggleGroup</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonToggleGroup_PressedButton" data-uid="C1.Win.Ribbon.RibbonToggleGroup.PressedButton">
          <a class="xref" href="C1.Win.Ribbon.RibbonToggleGroup.PressedButton.html#C1_Win_Ribbon_RibbonToggleGroup_PressedButton">PressedButton</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the currently pressed button in this <a class="xref" href="C1.Win.Ribbon.RibbonToggleGroup.html">RibbonToggleGroup</a>.</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_Ribbon_RibbonToggleGroup_OnPressedButtonChanged_System_EventArgs_" data-uid="C1.Win.Ribbon.RibbonToggleGroup.OnPressedButtonChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.Ribbon.RibbonToggleGroup.OnPressedButtonChanged.html#C1_Win_Ribbon_RibbonToggleGroup_OnPressedButtonChanged_System_EventArgs_">OnPressedButtonChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Win.Ribbon.RibbonToggleGroup.PressedButtonChanged.html">PressedButtonChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Ribbon_RibbonToggleGroup_ShouldSerializeItems" data-uid="C1.Win.Ribbon.RibbonToggleGroup.ShouldSerializeItems">
          <a class="xref" href="C1.Win.Ribbon.RibbonToggleGroup.ShouldSerializeItems.html#C1_Win_Ribbon_RibbonToggleGroup_ShouldSerializeItems">ShouldSerializeItems()</a>
        </td>
        <td class="markdown level1 summary"><p>This member is for internal use only.</p>
</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_Win_Ribbon_RibbonToggleGroup_PressedButtonChanged" data-uid="C1.Win.Ribbon.RibbonToggleGroup.PressedButtonChanged">
          <a class="xref" href="C1.Win.Ribbon.RibbonToggleGroup.PressedButtonChanged.html">PressedButtonChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the <a class="xref" href="C1.Win.Ribbon.RibbonToggleButton.Pressed.html#C1_Win_Ribbon_RibbonToggleButton_Pressed">Pressed</a> property is changed for some button.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
