# C1.WPF.Tile.C1TileBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Tile_C1TileBase" data-uid="C1.WPF.Tile.C1TileBase" class="text-break">C1TileBase Class
</h1>
  <div class="markdown level0 summary"><p>Provides the base implementation for all tile controls.</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">C1TileBase</span></div>
      <div class="level2"><a class="xref" href="C1.WPF.Tile.C1Tile.html">C1Tile</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Tile.html">C1.WPF.Tile</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Tile.4.6.2.dll</h6>
  <h5 id="C1_WPF_Tile_C1TileBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplateVisualState(Name = &quot;Disabled&quot;, GroupName = &quot;CommonStates&quot;)]
[TemplateVisualState(Name = &quot;Normal&quot;, GroupName = &quot;CommonStates&quot;)]
public class C1TileBase : C1HeaderedContentControl</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplateVisualState(Name:=&quot;Disabled&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
&lt;TemplateVisualState(Name:=&quot;Normal&quot;, GroupName:=&quot;CommonStates&quot;)&gt;
Public Class C1TileBase
    Inherits C1HeaderedContentControl</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_Tile_C1TileBase__ctor" data-uid="C1.WPF.Tile.C1TileBase.#ctor">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.-ctor.html#C1_WPF_Tile_C1TileBase__ctor">C1TileBase()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the new instance of the <a class="xref" href="C1.WPF.Tile.C1TileBase.html">C1TileBase</a> control.</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_Tile_C1TileBase_CommandParameterProperty" data-uid="C1.WPF.Tile.C1TileBase.CommandParameterProperty">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.CommandParameterProperty.html">CommandParameterProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Tile.C1TileBase.CommandParameter.html#C1_WPF_Tile_C1TileBase_CommandParameter">CommandParameter</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Tile_C1TileBase_CommandProperty" data-uid="C1.WPF.Tile.C1TileBase.CommandProperty">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.CommandProperty.html">CommandProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Tile.C1TileBase.Command.html#C1_WPF_Tile_C1TileBase_Command">Command</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Tile_C1TileBase_IsFrozenProperty" data-uid="C1.WPF.Tile.C1TileBase.IsFrozenProperty">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.IsFrozenProperty.html">IsFrozenProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Tile.C1TileBase.IsFrozen.html#C1_WPF_Tile_C1TileBase_IsFrozen">IsFrozen</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_Tile_C1TileBase_Command" data-uid="C1.WPF.Tile.C1TileBase.Command">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.Command.html#C1_WPF_Tile_C1TileBase_Command">Command</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the command to invoke when this button is pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Tile_C1TileBase_CommandParameter" data-uid="C1.WPF.Tile.C1TileBase.CommandParameter">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.CommandParameter.html#C1_WPF_Tile_C1TileBase_CommandParameter">CommandParameter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the parameter to pass to the <a class="xref" href="C1.WPF.Tile.C1TileBase.Command.html#C1_WPF_Tile_C1TileBase_Command">Command</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Tile_C1TileBase_IsFrozen" data-uid="C1.WPF.Tile.C1TileBase.IsFrozen">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.IsFrozen.html#C1_WPF_Tile_C1TileBase_IsFrozen">IsFrozen</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value specifying whether tile updates should be performed on the current <a class="xref" href="C1.WPF.Tile.C1TileBase.html">C1TileBase</a> object.
This is a dependency property. The default value is false.</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_Tile_C1TileBase_ChangeVisualStateCommon_System_Boolean_" data-uid="C1.WPF.Tile.C1TileBase.ChangeVisualStateCommon(System.Boolean)">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.ChangeVisualStateCommon.html#C1_WPF_Tile_C1TileBase_ChangeVisualStateCommon_System_Boolean_">ChangeVisualStateCommon(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Updates the current visual state of the Common visual state group to match the object's properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Tile_C1TileBase_OnApplyTemplate" data-uid="C1.WPF.Tile.C1TileBase.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.OnApplyTemplate.html#C1_WPF_Tile_C1TileBase_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Tile_C1TileBase_OnCreateAutomationPeer" data-uid="C1.WPF.Tile.C1TileBase.OnCreateAutomationPeer">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.OnCreateAutomationPeer.html#C1_WPF_Tile_C1TileBase_OnCreateAutomationPeer">OnCreateAutomationPeer()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an AutomationPeer object used for testing the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Tile_C1TileBase_OnLoaded" data-uid="C1.WPF.Tile.C1TileBase.OnLoaded">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.OnLoaded.html#C1_WPF_Tile_C1TileBase_OnLoaded">OnLoaded()</a>
        </td>
        <td class="markdown level1 summary"><p>Registers the current <a class="xref" href="C1.WPF.Tile.C1TileBase.html">C1TileBase</a> object in the <a class="xref" href="C1.WPF.Tile.C1TileService.html">C1TileService</a> to enable timing updates.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Tile_C1TileBase_OnMouseLeftButtonDown_System_Windows_Input_MouseButtonEventArgs_" data-uid="C1.WPF.Tile.C1TileBase.OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs)">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.OnMouseLeftButtonDown.html#C1_WPF_Tile_C1TileBase_OnMouseLeftButtonDown_System_Windows_Input_MouseButtonEventArgs_">OnMouseLeftButtonDown(MouseButtonEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Tile_C1TileBase_OnMouseLeftButtonUp_System_Windows_Input_MouseButtonEventArgs_" data-uid="C1.WPF.Tile.C1TileBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.OnMouseLeftButtonUp.html#C1_WPF_Tile_C1TileBase_OnMouseLeftButtonUp_System_Windows_Input_MouseButtonEventArgs_">OnMouseLeftButtonUp(MouseButtonEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Tile_C1TileBase_OnUnloaded" data-uid="C1.WPF.Tile.C1TileBase.OnUnloaded">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.OnUnloaded.html#C1_WPF_Tile_C1TileBase_OnUnloaded">OnUnloaded()</a>
        </td>
        <td class="markdown level1 summary"><p>Unregisters the current <a class="xref" href="C1.WPF.Tile.C1TileBase.html">C1TileBase</a> object in the <a class="xref" href="C1.WPF.Tile.C1TileService.html">C1TileService</a> to disable tile updates.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Tile_C1TileBase_ToString" data-uid="C1.WPF.Tile.C1TileBase.ToString">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.ToString.html#C1_WPF_Tile_C1TileBase_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns Header if it is a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value;</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Tile_C1TileBase_UpdateCanExecuteState" data-uid="C1.WPF.Tile.C1TileBase.UpdateCanExecuteState">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.UpdateCanExecuteState.html#C1_WPF_Tile_C1TileBase_UpdateCanExecuteState">UpdateCanExecuteState()</a>
        </td>
        <td class="markdown level1 summary"><p>If <a class="xref" href="C1.WPF.Tile.C1TileBase.Command.html#C1_WPF_Tile_C1TileBase_Command">Command</a> property is set, calls ICommand.CanExecute method and updates IsEnabled property accordingly.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Tile_C1TileBase_UpdateTile" data-uid="C1.WPF.Tile.C1TileBase.UpdateTile">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.UpdateTile.html#C1_WPF_Tile_C1TileBase_UpdateTile">UpdateTile()</a>
        </td>
        <td class="markdown level1 summary"><p>When overridden in derived class, performs tile update.</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_WPF_Tile_C1TileBase_Click" data-uid="C1.WPF.Tile.C1TileBase.Click">
          <a class="xref" href="C1.WPF.Tile.C1TileBase.Click.html">Click</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when a tile control is clicked.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
