# C1.Maui.Core.C1View

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Maui_Core_C1View" data-uid="C1.Maui.Core.C1View" class="text-break">C1View Class
</h1>
  <div class="markdown level0 summary"><p>Base class for views supporting standard properties.</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">C1View</span></div>
      <div class="level2"><a class="xref" href="../C1.Maui.Calendar/C1.Maui.Calendar.C1Calendar.html">C1Calendar</a></div>
      <div class="level2"><a class="xref" href="C1.Maui.Core.C1Border.html">C1Border</a></div>
      <div class="level2"><a class="xref" href="C1.Maui.Core.C1Button.html">C1Button</a></div>
      <div class="level2"><a class="xref" href="C1.Maui.Core.C1CheckBox.html">C1CheckBox</a></div>
      <div class="level2"><a class="xref" href="C1.Maui.Core.C1Icon.html">C1Icon</a></div>
      <div class="level2"><a class="xref" href="C1.Maui.Core.C1ToggleButton.html">C1ToggleButton</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Maui.Core.html">C1.Maui.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.Maui.Core.dll</h6>
  <h5 id="C1_Maui_Core_C1View_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class C1View : View, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class C1View
    Inherits View
    Implements IDisposable</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_Maui_Core_C1View__ctor" data-uid="C1.Maui.Core.C1View.#ctor">
          <a class="xref" href="C1.Maui.Core.C1View.-ctor.html#C1_Maui_Core_C1View__ctor">C1View()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Maui.Core.C1View.html">C1View</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_Maui_Core_C1View_BorderBrushProperty" data-uid="C1.Maui.Core.C1View.BorderBrushProperty">
          <a class="xref" href="C1.Maui.Core.C1View.BorderBrushProperty.html">BorderBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1View.BorderBrush.html#C1_Maui_Core_C1View_BorderBrush">BorderBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_BorderThicknessProperty" data-uid="C1.Maui.Core.C1View.BorderThicknessProperty">
          <a class="xref" href="C1.Maui.Core.C1View.BorderThicknessProperty.html">BorderThicknessProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1View.BorderThickness.html#C1_Maui_Core_C1View_BorderThickness">BorderThickness</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_CornerRadiusProperty" data-uid="C1.Maui.Core.C1View.CornerRadiusProperty">
          <a class="xref" href="C1.Maui.Core.C1View.CornerRadiusProperty.html">CornerRadiusProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1View.CornerRadius.html#C1_Maui_Core_C1View_CornerRadius">CornerRadius</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_FontAttributesProperty" data-uid="C1.Maui.Core.C1View.FontAttributesProperty">
          <a class="xref" href="C1.Maui.Core.C1View.FontAttributesProperty.html">FontAttributesProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1View.FontAttributes.html#C1_Maui_Core_C1View_FontAttributes">FontAttributes</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_FontFamilyProperty" data-uid="C1.Maui.Core.C1View.FontFamilyProperty">
          <a class="xref" href="C1.Maui.Core.C1View.FontFamilyProperty.html">FontFamilyProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1View.FontFamily.html#C1_Maui_Core_C1View_FontFamily">FontFamily</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_FontSizeProperty" data-uid="C1.Maui.Core.C1View.FontSizeProperty">
          <a class="xref" href="C1.Maui.Core.C1View.FontSizeProperty.html">FontSizeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1View.FontSize.html#C1_Maui_Core_C1View_FontSize">FontSize</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_ForegroundProperty" data-uid="C1.Maui.Core.C1View.ForegroundProperty">
          <a class="xref" href="C1.Maui.Core.C1View.ForegroundProperty.html">ForegroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1View.Foreground.html#C1_Maui_Core_C1View_Foreground">Foreground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_InheritPropertiesProperty" data-uid="C1.Maui.Core.C1View.InheritPropertiesProperty">
          <a class="xref" href="C1.Maui.Core.C1View.InheritPropertiesProperty.html">InheritPropertiesProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1View.InheritProperties.html#C1_Maui_Core_C1View_InheritProperties">InheritProperties</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_PaddingProperty" data-uid="C1.Maui.Core.C1View.PaddingProperty">
          <a class="xref" href="C1.Maui.Core.C1View.PaddingProperty.html">PaddingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.Maui.Core.C1View.Padding.html#C1_Maui_Core_C1View_Padding">Padding</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_Maui_Core_C1View_BorderBrush" data-uid="C1.Maui.Core.C1View.BorderBrush">
          <a class="xref" href="C1.Maui.Core.C1View.BorderBrush.html#C1_Maui_Core_C1View_BorderBrush">BorderBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">Microsoft.Maui.Controls.Brush</span> used to paint the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_BorderThickness" data-uid="C1.Maui.Core.C1View.BorderThickness">
          <a class="xref" href="C1.Maui.Core.C1View.BorderThickness.html#C1_Maui_Core_C1View_BorderThickness">BorderThickness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">Microsoft.Maui.Thickness</span> of the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_CornerRadius" data-uid="C1.Maui.Core.C1View.CornerRadius">
          <a class="xref" href="C1.Maui.Core.C1View.CornerRadius.html#C1_Maui_Core_C1View_CornerRadius">CornerRadius</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">Microsoft.Maui.CornerRadius</span> of the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_FontAttributes" data-uid="C1.Maui.Core.C1View.FontAttributes">
          <a class="xref" href="C1.Maui.Core.C1View.FontAttributes.html#C1_Maui_Core_C1View_FontAttributes">FontAttributes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font attributes applied to the view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_FontFamily" data-uid="C1.Maui.Core.C1View.FontFamily">
          <a class="xref" href="C1.Maui.Core.C1View.FontFamily.html#C1_Maui_Core_C1View_FontFamily">FontFamily</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font family applied to the view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_FontSize" data-uid="C1.Maui.Core.C1View.FontSize">
          <a class="xref" href="C1.Maui.Core.C1View.FontSize.html#C1_Maui_Core_C1View_FontSize">FontSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font size applied to the view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_Foreground" data-uid="C1.Maui.Core.C1View.Foreground">
          <a class="xref" href="C1.Maui.Core.C1View.Foreground.html#C1_Maui_Core_C1View_Foreground">Foreground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">Microsoft.Maui.Controls.Brush</span> used to paint the foreground (text and icons).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_InheritProperties" data-uid="C1.Maui.Core.C1View.InheritProperties">
          <a class="xref" href="C1.Maui.Core.C1View.InheritProperties.html#C1_Maui_Core_C1View_InheritProperties">InheritProperties</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the general purpose properties like foreground or fonts are inherited to the children automatically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_IsDisposed" data-uid="C1.Maui.Core.C1View.IsDisposed">
          <a class="xref" href="C1.Maui.Core.C1View.IsDisposed.html#C1_Maui_Core_C1View_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this instance is disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_Padding" data-uid="C1.Maui.Core.C1View.Padding">
          <a class="xref" href="C1.Maui.Core.C1View.Padding.html#C1_Maui_Core_C1View_Padding">Padding</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the padding of the <span class="xref">Content</span>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_Tag" data-uid="C1.Maui.Core.C1View.Tag">
          <a class="xref" href="C1.Maui.Core.C1View.Tag.html#C1_Maui_Core_C1View_Tag">Tag</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an arbitrary object value that can be used to store custom information about this element.</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_Maui_Core_C1View_Dispose" data-uid="C1.Maui.Core.C1View.Dispose">
          <a class="xref" href="C1.Maui.Core.C1View.Dispose.html#C1_Maui_Core_C1View_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_Dispose_System_Boolean_" data-uid="C1.Maui.Core.C1View.Dispose(System.Boolean)">
          <a class="xref" href="C1.Maui.Core.C1View.Dispose.html#C1_Maui_Core_C1View_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_Finalize" data-uid="C1.Maui.Core.C1View.Finalize">
          <a class="xref" href="C1.Maui.Core.C1View.Finalize.html#C1_Maui_Core_C1View_Finalize">Finalize()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes this instance of the <a class="xref" href="C1.Maui.Core.C1View.html">C1View</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_OnBackgroundChanged" data-uid="C1.Maui.Core.C1View.OnBackgroundChanged">
          <a class="xref" href="C1.Maui.Core.C1View.OnBackgroundChanged.html#C1_Maui_Core_C1View_OnBackgroundChanged">OnBackgroundChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the background changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_OnBorderBrushChanged" data-uid="C1.Maui.Core.C1View.OnBorderBrushChanged">
          <a class="xref" href="C1.Maui.Core.C1View.OnBorderBrushChanged.html#C1_Maui_Core_C1View_OnBorderBrushChanged">OnBorderBrushChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the border brush changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_OnBorderThicknessChanged" data-uid="C1.Maui.Core.C1View.OnBorderThicknessChanged">
          <a class="xref" href="C1.Maui.Core.C1View.OnBorderThicknessChanged.html#C1_Maui_Core_C1View_OnBorderThicknessChanged">OnBorderThicknessChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the border thickness changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_OnCornerRadiusChanged" data-uid="C1.Maui.Core.C1View.OnCornerRadiusChanged">
          <a class="xref" href="C1.Maui.Core.C1View.OnCornerRadiusChanged.html#C1_Maui_Core_C1View_OnCornerRadiusChanged">OnCornerRadiusChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the corner-radius changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_OnFlowDirectionChanged" data-uid="C1.Maui.Core.C1View.OnFlowDirectionChanged">
          <a class="xref" href="C1.Maui.Core.C1View.OnFlowDirectionChanged.html#C1_Maui_Core_C1View_OnFlowDirectionChanged">OnFlowDirectionChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the flow direction changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_OnFontChanged" data-uid="C1.Maui.Core.C1View.OnFontChanged">
          <a class="xref" href="C1.Maui.Core.C1View.OnFontChanged.html#C1_Maui_Core_C1View_OnFontChanged">OnFontChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when any of the font properties changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_OnForegroundChanged" data-uid="C1.Maui.Core.C1View.OnForegroundChanged">
          <a class="xref" href="C1.Maui.Core.C1View.OnForegroundChanged.html#C1_Maui_Core_C1View_OnForegroundChanged">OnForegroundChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the foreground changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_OnPaddingChanged" data-uid="C1.Maui.Core.C1View.OnPaddingChanged">
          <a class="xref" href="C1.Maui.Core.C1View.OnPaddingChanged.html#C1_Maui_Core_C1View_OnPaddingChanged">OnPaddingChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the padding changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_OnPropertyChanged_System_String_" data-uid="C1.Maui.Core.C1View.OnPropertyChanged(System.String)">
          <a class="xref" href="C1.Maui.Core.C1View.OnPropertyChanged.html#C1_Maui_Core_C1View_OnPropertyChanged_System_String_">OnPropertyChanged(string)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Maui_Core_C1View_OnStyleChanged" data-uid="C1.Maui.Core.C1View.OnStyleChanged">
          <a class="xref" href="C1.Maui.Core.C1View.OnStyleChanged.html#C1_Maui_Core_C1View_OnStyleChanged">OnStyleChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the style changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
