# C1.LiveLinq.LiveViews.View.Rows

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_LiveLinq_LiveViews_View_Rows_" data-uid="C1.LiveLinq.LiveViews.View.Rows*">Rows Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_LiveLinq_LiveViews_View_Rows_" data-uid="C1.LiveLinq.LiveViews.View.Rows*"></a>
<h4 id="C1_LiveLinq_LiveViews_View_Rows" data-uid="C1.LiveLinq.LiveViews.View.Rows">Rows</h4>
<div class="markdown level1 summary"><p>Gets the collection of <a class="xref" href="C1.LiveLinq.LiveViews.ViewRow.html">ViewRow</a> objects used for programmatic access to view elements (items) and for data binding.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ViewRowCollection Rows { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property Rows As ViewRowCollection</code></pre>
</div>
<h5 id="C1_LiveLinq_LiveViews_View_Rows_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>There can be a view with elements of any type <i>T</i>, as represented by the generic class <a class="xref" href="C1.LiveLinq.LiveViews.View-1.html">View&lt;T&gt;</a>.
That type is not always known beforehand, so it is not always possible to access
properties of view elements with strong-typed (early binding) code. Dynamic (untyped, late binding) access to view elements is
provided by the <a class="xref" href="C1.LiveLinq.LiveViews.ViewRowCollection.html">ViewRowCollection</a> owned by the view.</p>
<p>The collection of <i>view rows</i> (<a class="xref" href="C1.LiveLinq.LiveViews.ViewRow.html">ViewRow</a> objects)
is always synchronized with the collection of view elements.
<a class="xref" href="C1.LiveLinq.LiveViews.ViewRow.html">ViewRow</a> objects provide programmatic access to view elements and their properties.</p>
<p>Also, in WinForms, the <b>Rows</b> collection serves as the data source for data binding, when you bind a control or another client to a view,
because a view returns its <b>Rows</b> collection in its implementation of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.ilistsource">IListSource</a> interface.</p>
</div>
</div>
