# C1.WPF.DataFilter.ConditionButtonsControl

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_DataFilter_ConditionButtonsControl" data-uid="C1.WPF.DataFilter.ConditionButtonsControl" class="text-break">ConditionButtonsControl Class
</h1>
  <div class="markdown level0 summary"><p>Panel that contains the And and Or radio buttons.</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">ConditionButtonsControl</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.DataFilter.html">C1.WPF.DataFilter</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.DataFilter.dll</h6>
  <h5 id="C1_WPF_DataFilter_ConditionButtonsControl_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;And&quot;, Type = typeof(RadioButton))]
[TemplatePart(Name = &quot;Or&quot;, Type = typeof(RadioButton))]
public class ConditionButtonsControl : C1View</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;And&quot;, Type:=GetType(RadioButton))&gt;
&lt;TemplatePart(Name:=&quot;Or&quot;, Type:=GetType(RadioButton))&gt;
Public Class ConditionButtonsControl
    Inherits C1View</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_WPF_DataFilter_ConditionButtonsControl__ctor" data-uid="C1.WPF.DataFilter.ConditionButtonsControl.#ctor">
          <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.-ctor.html#C1_WPF_DataFilter_ConditionButtonsControl__ctor">ConditionButtonsControl()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.html">ConditionButtonsControl</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_DataFilter_ConditionButtonsControl_IsAndCheckedProperty" data-uid="C1.WPF.DataFilter.ConditionButtonsControl.IsAndCheckedProperty">
          <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.IsAndCheckedProperty.html">IsAndCheckedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.IsAndChecked.html#C1_WPF_DataFilter_ConditionButtonsControl_IsAndChecked">IsAndChecked</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ConditionButtonsControl_IsAndEnabledProperty" data-uid="C1.WPF.DataFilter.ConditionButtonsControl.IsAndEnabledProperty">
          <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.IsAndEnabledProperty.html">IsAndEnabledProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.IsAndEnabled.html#C1_WPF_DataFilter_ConditionButtonsControl_IsAndEnabled">IsAndEnabled</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ConditionButtonsControl_IsOrCheckedProperty" data-uid="C1.WPF.DataFilter.ConditionButtonsControl.IsOrCheckedProperty">
          <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.IsOrCheckedProperty.html">IsOrCheckedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.IsOrChecked.html#C1_WPF_DataFilter_ConditionButtonsControl_IsOrChecked">IsOrChecked</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ConditionButtonsControl_IsOrEnabledProperty" data-uid="C1.WPF.DataFilter.ConditionButtonsControl.IsOrEnabledProperty">
          <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.IsOrEnabledProperty.html">IsOrEnabledProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.IsOrEnabled.html#C1_WPF_DataFilter_ConditionButtonsControl_IsOrEnabled">IsOrEnabled</a> dependency property.</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_WPF_DataFilter_ConditionButtonsControl_IsAndChecked" data-uid="C1.WPF.DataFilter.ConditionButtonsControl.IsAndChecked">
          <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.IsAndChecked.html#C1_WPF_DataFilter_ConditionButtonsControl_IsAndChecked">IsAndChecked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the And radio button is checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ConditionButtonsControl_IsAndEnabled" data-uid="C1.WPF.DataFilter.ConditionButtonsControl.IsAndEnabled">
          <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.IsAndEnabled.html#C1_WPF_DataFilter_ConditionButtonsControl_IsAndEnabled">IsAndEnabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the And radio button is enabled.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ConditionButtonsControl_IsOrChecked" data-uid="C1.WPF.DataFilter.ConditionButtonsControl.IsOrChecked">
          <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.IsOrChecked.html#C1_WPF_DataFilter_ConditionButtonsControl_IsOrChecked">IsOrChecked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the Or radio button is checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ConditionButtonsControl_IsOrEnabled" data-uid="C1.WPF.DataFilter.ConditionButtonsControl.IsOrEnabled">
          <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.IsOrEnabled.html#C1_WPF_DataFilter_ConditionButtonsControl_IsOrEnabled">IsOrEnabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the Or radio button is enabled.</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_WPF_DataFilter_ConditionButtonsControl_Dispose_System_Boolean_" data-uid="C1.WPF.DataFilter.ConditionButtonsControl.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.Dispose.html#C1_WPF_DataFilter_ConditionButtonsControl_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ConditionButtonsControl_OnApplyTemplate" data-uid="C1.WPF.DataFilter.ConditionButtonsControl.OnApplyTemplate">
          <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.OnApplyTemplate.html#C1_WPF_DataFilter_ConditionButtonsControl_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></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_WPF_DataFilter_ConditionButtonsControl_AndClicked" data-uid="C1.WPF.DataFilter.ConditionButtonsControl.AndClicked">
          <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.AndClicked.html">AndClicked</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the And radio button is clicked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_DataFilter_ConditionButtonsControl_OrClicked" data-uid="C1.WPF.DataFilter.ConditionButtonsControl.OrClicked">
          <a class="xref" href="C1.WPF.DataFilter.ConditionButtonsControl.OrClicked.html">OrClicked</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the or button is clicked.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
