# C1.Android.Core.C1ScrollViewer.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Android_Core_C1ScrollViewer__ctor_" data-uid="C1.Android.Core.C1ScrollViewer.#ctor*">C1ScrollViewer Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Android_Core_C1ScrollViewer__ctor_" data-uid="C1.Android.Core.C1ScrollViewer.#ctor*"></a>
<h4 id="C1_Android_Core_C1ScrollViewer__ctor_Android_Content_Context_" data-uid="C1.Android.Core.C1ScrollViewer.#ctor(Android.Content.Context)">C1ScrollViewer(Context)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Core.C1ScrollViewer.html">C1ScrollViewer</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 C1ScrollViewer(Context context)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(context As Context)</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">Context</span></td>
      <td><span class="parametername">context</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Android_Core_C1ScrollViewer__ctor_" data-uid="C1.Android.Core.C1ScrollViewer.#ctor*"></a>
<h4 id="C1_Android_Core_C1ScrollViewer__ctor_Android_Content_Context_Android_Util_IAttributeSet_" data-uid="C1.Android.Core.C1ScrollViewer.#ctor(Android.Content.Context,Android.Util.IAttributeSet)">C1ScrollViewer(Context, IAttributeSet)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Core.C1ScrollViewer.html">C1ScrollViewer</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 C1ScrollViewer(Context context, IAttributeSet attrs)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(context As Context, attrs As IAttributeSet)</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">Context</span></td>
      <td><span class="parametername">context</span></td>
      <td></td>
    </tr>
    <tr>
      <td><span class="xref">IAttributeSet</span></td>
      <td><span class="parametername">attrs</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Android_Core_C1ScrollViewer__ctor_" data-uid="C1.Android.Core.C1ScrollViewer.#ctor*"></a>
<h4 id="C1_Android_Core_C1ScrollViewer__ctor_Android_Content_Context_Android_Util_IAttributeSet_System_Int32_" data-uid="C1.Android.Core.C1ScrollViewer.#ctor(Android.Content.Context,Android.Util.IAttributeSet,System.Int32)">C1ScrollViewer(Context, IAttributeSet, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Android.Core.C1ScrollViewer.html">C1ScrollViewer</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 C1ScrollViewer(Context context, IAttributeSet attrs, int defStyleAttr)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(context As Context, attrs As IAttributeSet, defStyleAttr As Integer)</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">Context</span></td>
      <td><span class="parametername">context</span></td>
      <td></td>
    </tr>
    <tr>
      <td><span class="xref">IAttributeSet</span></td>
      <td><span class="parametername">attrs</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">defStyleAttr</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="C1_Android_Core_C1ScrollViewer__ctor_" data-uid="C1.Android.Core.C1ScrollViewer.#ctor*"></a>
<h4 id="C1_Android_Core_C1ScrollViewer__ctor_System_IntPtr_Android_Runtime_JniHandleOwnership_" data-uid="C1.Android.Core.C1ScrollViewer.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)">C1ScrollViewer(nint, JniHandleOwnership)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected C1ScrollViewer(nint javaReference, JniHandleOwnership transfer)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub New(javaReference As IntPtr, transfer As JniHandleOwnership)</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.intptr">nint</a></td>
      <td><span class="parametername">javaReference</span></td>
      <td></td>
    </tr>
    <tr>
      <td><span class="xref">JniHandleOwnership</span></td>
      <td><span class="parametername">transfer</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
