# C1.iOS.Core.C1Label.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_iOS_Core_C1Label__ctor_" data-uid="C1.iOS.Core.C1Label.#ctor*">C1Label Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_iOS_Core_C1Label__ctor_" data-uid="C1.iOS.Core.C1Label.#ctor*"></a>
<h4 id="C1_iOS_Core_C1Label__ctor" data-uid="C1.iOS.Core.C1Label.#ctor">C1Label()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.Core.C1Label.html">C1Label</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1Label()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_iOS_Core_C1Label__ctor_" data-uid="C1.iOS.Core.C1Label.#ctor*"></a>
<h4 id="C1_iOS_Core_C1Label__ctor_CoreGraphics_CGRect_" data-uid="C1.iOS.Core.C1Label.#ctor(CoreGraphics.CGRect)">C1Label(CGRect)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.iOS.Core.C1Label.html">C1Label</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1Label(CGRect frame)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(frame As CGRect)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">CGRect</span></td>
      <td><span class="parametername">frame</span></td>
      <td><p>Frame used by the view, expressed in iOS points.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_iOS_Core_C1Label__ctor_CoreGraphics_CGRect__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This constructor is used to programmatically create a new instance of UILabel with the specified dimension in the frame.   The object will only be displayed once it has been added to a view hierarchy by calling AddSubview in a containing view.</p>
<p>This constructor is not invoked when deserializing objects from storyboards or XIB filesinstead the constructor that takes an NSCoder parameter is invoked.</p>
</div>
</div>
