# C1.iOS.Core.C1View

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_iOS_Core_C1View" data-uid="C1.iOS.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.iOS.Calendar/C1.iOS.Calendar.C1Calendar.html">C1Calendar</a></div>
      <div class="level2"><a class="xref" href="C1.iOS.Core.C1Border.html">C1Border</a></div>
      <div class="level2"><a class="xref" href="C1.iOS.Core.C1Button.html">C1Button</a></div>
      <div class="level2"><a class="xref" href="C1.iOS.Core.C1CheckBox.html">C1CheckBox</a></div>
      <div class="level2"><a class="xref" href="C1.iOS.Core.C1Icon.html">C1Icon</a></div>
      <div class="level2"><a class="xref" href="C1.iOS.Core.C1ToggleButton.html">C1ToggleButton</a></div>
      <div class="level2"><a class="xref" href="C1.iOS.Core.C1TransparentView.html">C1TransparentView</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.iOS.Core.IDependencyObject.html">IDependencyObject</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.iOS.Core.html">C1.iOS.Core</a></h6>
  <h6><strong>Assembly</strong>: C1.iOS.Core.dll</h6>
  <h5 id="C1_iOS_Core_C1View_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class C1View : UIView, IDependencyObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class C1View
    Inherits UIView
    Implements IDependencyObject</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_iOS_Core_C1View__ctor" data-uid="C1.iOS.Core.C1View.#ctor">
          <a class="xref" href="C1.iOS.Core.C1View.-ctor.html#C1_iOS_Core_C1View__ctor">C1View()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.Core.C1View.html">C1View</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View__ctor_CoreGraphics_CGRect_" data-uid="C1.iOS.Core.C1View.#ctor(CoreGraphics.CGRect)">
          <a class="xref" href="C1.iOS.Core.C1View.-ctor.html#C1_iOS_Core_C1View__ctor_CoreGraphics_CGRect_">C1View(CGRect)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.Core.C1View.html">C1View</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View__ctor_System_IntPtr_" data-uid="C1.iOS.Core.C1View.#ctor(System.IntPtr)">
          <a class="xref" href="C1.iOS.Core.C1View.-ctor.html#C1_iOS_Core_C1View__ctor_System_IntPtr_">C1View(nint)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.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_iOS_Core_C1View_BackgroundProperty" data-uid="C1.iOS.Core.C1View.BackgroundProperty">
          <a class="xref" href="C1.iOS.Core.C1View.BackgroundProperty.html">BackgroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1View.Background.html#C1_iOS_Core_C1View_Background">Background</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_BorderBrushProperty" data-uid="C1.iOS.Core.C1View.BorderBrushProperty">
          <a class="xref" href="C1.iOS.Core.C1View.BorderBrushProperty.html">BorderBrushProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1View.BorderBrush.html#C1_iOS_Core_C1View_BorderBrush">BorderBrush</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_BorderThicknessProperty" data-uid="C1.iOS.Core.C1View.BorderThicknessProperty">
          <a class="xref" href="C1.iOS.Core.C1View.BorderThicknessProperty.html">BorderThicknessProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1View.BorderThickness.html#C1_iOS_Core_C1View_BorderThickness">BorderThickness</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_CornerRadiusProperty" data-uid="C1.iOS.Core.C1View.CornerRadiusProperty">
          <a class="xref" href="C1.iOS.Core.C1View.CornerRadiusProperty.html">CornerRadiusProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1View.CornerRadius.html#C1_iOS_Core_C1View_CornerRadius">CornerRadius</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_FlowDirectionProperty" data-uid="C1.iOS.Core.C1View.FlowDirectionProperty">
          <a class="xref" href="C1.iOS.Core.C1View.FlowDirectionProperty.html">FlowDirectionProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1View.FlowDirection.html#C1_iOS_Core_C1View_FlowDirection">FlowDirection</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_FontProperty" data-uid="C1.iOS.Core.C1View.FontProperty">
          <a class="xref" href="C1.iOS.Core.C1View.FontProperty.html">FontProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1View.Font.html#C1_iOS_Core_C1View_Font">Font</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_ForegroundProperty" data-uid="C1.iOS.Core.C1View.ForegroundProperty">
          <a class="xref" href="C1.iOS.Core.C1View.ForegroundProperty.html">ForegroundProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1View.Foreground.html#C1_iOS_Core_C1View_Foreground">Foreground</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_InheritPropertiesProperty" data-uid="C1.iOS.Core.C1View.InheritPropertiesProperty">
          <a class="xref" href="C1.iOS.Core.C1View.InheritPropertiesProperty.html">InheritPropertiesProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1View.InheritProperties.html#C1_iOS_Core_C1View_InheritProperties">InheritProperties</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_PaddingProperty" data-uid="C1.iOS.Core.C1View.PaddingProperty">
          <a class="xref" href="C1.iOS.Core.C1View.PaddingProperty.html">PaddingProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.iOS.Core.C1View.Padding.html#C1_iOS_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_iOS_Core_C1View_Background" data-uid="C1.iOS.Core.C1View.Background">
          <a class="xref" href="C1.iOS.Core.C1View.Background.html#C1_iOS_Core_C1View_Background">Background</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">CoreAnimation.CALayer</span> used to paint the background.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_BackgroundColor" data-uid="C1.iOS.Core.C1View.BackgroundColor">
          <a class="xref" href="C1.iOS.Core.C1View.BackgroundColor.html#C1_iOS_Core_C1View_BackgroundColor">BackgroundColor</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_BorderBrush" data-uid="C1.iOS.Core.C1View.BorderBrush">
          <a class="xref" href="C1.iOS.Core.C1View.BorderBrush.html#C1_iOS_Core_C1View_BorderBrush">BorderBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">CoreAnimation.CALayer</span> used to paint the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_BorderThickness" data-uid="C1.iOS.Core.C1View.BorderThickness">
          <a class="xref" href="C1.iOS.Core.C1View.BorderThickness.html#C1_iOS_Core_C1View_BorderThickness">BorderThickness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">UIKit.UIEdgeInsets</span> of the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_Bounds" data-uid="C1.iOS.Core.C1View.Bounds">
          <a class="xref" href="C1.iOS.Core.C1View.Bounds.html#C1_iOS_Core_C1View_Bounds">Bounds</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_CornerRadius" data-uid="C1.iOS.Core.C1View.CornerRadius">
          <a class="xref" href="C1.iOS.Core.C1View.CornerRadius.html#C1_iOS_Core_C1View_CornerRadius">CornerRadius</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.iOS.Core.C1CornerRadius.html">C1CornerRadius</a> of the border.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_FlowDirection" data-uid="C1.iOS.Core.C1View.FlowDirection">
          <a class="xref" href="C1.iOS.Core.C1View.FlowDirection.html#C1_iOS_Core_C1View_FlowDirection">FlowDirection</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the flow direction.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_Font" data-uid="C1.iOS.Core.C1View.Font">
          <a class="xref" href="C1.iOS.Core.C1View.Font.html#C1_iOS_Core_C1View_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the font applied to the view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_Foreground" data-uid="C1.iOS.Core.C1View.Foreground">
          <a class="xref" href="C1.iOS.Core.C1View.Foreground.html#C1_iOS_Core_C1View_Foreground">Foreground</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">CoreAnimation.CALayer</span> used to paint the foreground (text and icons).</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_InheritProperties" data-uid="C1.iOS.Core.C1View.InheritProperties">
          <a class="xref" href="C1.iOS.Core.C1View.InheritProperties.html#C1_iOS_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_iOS_Core_C1View_IsDisposed" data-uid="C1.iOS.Core.C1View.IsDisposed">
          <a class="xref" href="C1.iOS.Core.C1View.IsDisposed.html#C1_iOS_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_iOS_Core_C1View_Padding" data-uid="C1.iOS.Core.C1View.Padding">
          <a class="xref" href="C1.iOS.Core.C1View.Padding.html#C1_iOS_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_iOS_Core_C1View_Style" data-uid="C1.iOS.Core.C1View.Style">
          <a class="xref" href="C1.iOS.Core.C1View.Style.html#C1_iOS_Core_C1View_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of this view.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_Tag" data-uid="C1.iOS.Core.C1View.Tag">
          <a class="xref" href="C1.iOS.Core.C1View.Tag.html#C1_iOS_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_iOS_Core_C1View_Dispose_System_Boolean_" data-uid="C1.iOS.Core.C1View.Dispose(System.Boolean)">
          <a class="xref" href="C1.iOS.Core.C1View.Dispose.html#C1_iOS_Core_C1View_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_Draw_CoreGraphics_CGRect_" data-uid="C1.iOS.Core.C1View.Draw(CoreGraphics.CGRect)">
          <a class="xref" href="C1.iOS.Core.C1View.Draw.html#C1_iOS_Core_C1View_Draw_CoreGraphics_CGRect_">Draw(CGRect)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_MovedToWindow" data-uid="C1.iOS.Core.C1View.MovedToWindow">
          <a class="xref" href="C1.iOS.Core.C1View.MovedToWindow.html#C1_iOS_Core_C1View_MovedToWindow">MovedToWindow()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_OnBackgroundChanged" data-uid="C1.iOS.Core.C1View.OnBackgroundChanged">
          <a class="xref" href="C1.iOS.Core.C1View.OnBackgroundChanged.html#C1_iOS_Core_C1View_OnBackgroundChanged">OnBackgroundChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the background changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_OnBorderBrushChanged" data-uid="C1.iOS.Core.C1View.OnBorderBrushChanged">
          <a class="xref" href="C1.iOS.Core.C1View.OnBorderBrushChanged.html#C1_iOS_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_iOS_Core_C1View_OnBorderThicknessChanged" data-uid="C1.iOS.Core.C1View.OnBorderThicknessChanged">
          <a class="xref" href="C1.iOS.Core.C1View.OnBorderThicknessChanged.html#C1_iOS_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_iOS_Core_C1View_OnCornerRadiusChanged" data-uid="C1.iOS.Core.C1View.OnCornerRadiusChanged">
          <a class="xref" href="C1.iOS.Core.C1View.OnCornerRadiusChanged.html#C1_iOS_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_iOS_Core_C1View_OnFlowDirectionChanged" data-uid="C1.iOS.Core.C1View.OnFlowDirectionChanged">
          <a class="xref" href="C1.iOS.Core.C1View.OnFlowDirectionChanged.html#C1_iOS_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_iOS_Core_C1View_OnFontChanged" data-uid="C1.iOS.Core.C1View.OnFontChanged">
          <a class="xref" href="C1.iOS.Core.C1View.OnFontChanged.html#C1_iOS_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_iOS_Core_C1View_OnForegroundChanged" data-uid="C1.iOS.Core.C1View.OnForegroundChanged">
          <a class="xref" href="C1.iOS.Core.C1View.OnForegroundChanged.html#C1_iOS_Core_C1View_OnForegroundChanged">OnForegroundChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the foreground changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_OnPaddingChanged" data-uid="C1.iOS.Core.C1View.OnPaddingChanged">
          <a class="xref" href="C1.iOS.Core.C1View.OnPaddingChanged.html#C1_iOS_Core_C1View_OnPaddingChanged">OnPaddingChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the padding changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_iOS_Core_C1View_OnStyleChanged" data-uid="C1.iOS.Core.C1View.OnStyleChanged">
          <a class="xref" href="C1.iOS.Core.C1View.OnStyleChanged.html#C1_iOS_Core_C1View_OnStyleChanged">OnStyleChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the style changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
