# C1.LiveLinq.LiveViews.ViewRow.Item

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_LiveLinq_LiveViews_ViewRow_Item_" data-uid="C1.LiveLinq.LiveViews.ViewRow.Item*">this Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_LiveLinq_LiveViews_ViewRow_Item_" data-uid="C1.LiveLinq.LiveViews.ViewRow.Item*"></a>
<h4 id="C1_LiveLinq_LiveViews_ViewRow_Item_System_Int32_" data-uid="C1.LiveLinq.LiveViews.ViewRow.Item(System.Int32)">this[int]</h4>
<div class="markdown level1 summary"><p>Gets or sets a value of the specified view property.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public object this[int propertyOrdinal] { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Default Property Item(propertyOrdinal As Integer) As Object</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.int32">int</a></td>
      <td><span class="parametername">propertyOrdinal</span></td>
      <td><p>The ordinal position of the property in the collection of public properties of the type of the view element.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><p>The value of the property.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_LiveLinq_LiveViews_ViewRow_Item_System_Int32__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Setting a view property is an update operation on the view. As any other update operation performed directly on the
view (as opposed to on the base data collection on which that view depends,
see <a class="xref" href="C1.LiveLinq.LiveViewExtensions.AsUpdatable.html#C1_LiveLinq_LiveViewExtensions_AsUpdatable__1_C1_LiveLinq_LiveViews_View___0__">AsUpdatable&lt;T&gt;(View&lt;T&gt;)</a>), it is allowed only if the view
is not read-only (see <a class="xref" href="C1.LiveLinq.LiveViews.View.IsReadOnly.html#C1_LiveLinq_LiveViews_View_IsReadOnly">IsReadOnly</a>), and it results in updating 
one of the view's base data collections.</p>
<p>Only updatable properties can be set. An attempt to set a read-only property results in an exception.
See <a class="xref" href="C1.LiveLinq.LiveViews.View.IsReadOnly.html#C1_LiveLinq_LiveViews_View_IsReadOnly">IsReadOnly</a> for more details.</p>
</div>


<a id="C1_LiveLinq_LiveViews_ViewRow_Item_" data-uid="C1.LiveLinq.LiveViews.ViewRow.Item*"></a>
<h4 id="C1_LiveLinq_LiveViews_ViewRow_Item_System_String_" data-uid="C1.LiveLinq.LiveViews.ViewRow.Item(System.String)">this[string]</h4>
<div class="markdown level1 summary"><p>Gets or sets a value of the specified view property.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public object this[string propertyName] { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Default Property Item(propertyName As String) As Object</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.string">string</a></td>
      <td><span class="parametername">propertyName</span></td>
      <td><p>The name of the property.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><p>The value of the property.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_LiveLinq_LiveViews_ViewRow_Item_System_String__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Setting a view property is an update operation on the view. As any other update operation performed directly on the
view (as opposed to on the base data collection on which that view depends,
see <a class="xref" href="C1.LiveLinq.LiveViewExtensions.AsUpdatable.html#C1_LiveLinq_LiveViewExtensions_AsUpdatable__1_C1_LiveLinq_LiveViews_View___0__">AsUpdatable&lt;T&gt;(View&lt;T&gt;)</a>), it is allowed only if the view
is not read-only (see <a class="xref" href="C1.LiveLinq.LiveViews.View.IsReadOnly.html#C1_LiveLinq_LiveViews_View_IsReadOnly">IsReadOnly</a>), and it results in updating 
one of the view's base data collections.</p>
<p>Only updatable properties can be set. An attempt to set a read-only property results in an exception.
See <a class="xref" href="C1.LiveLinq.LiveViews.View.IsReadOnly.html#C1_LiveLinq_LiveViews_View_IsReadOnly">IsReadOnly</a> for more details.</p>
</div>
</div>
