[]
        
(Showing Draft Content)

C1.LiveLinq.LiveViews.ViewRow.Item

this Property

this[int]

Gets or sets a value of the specified view property.

Declaration
public object this[int propertyOrdinal] { get; set; }
Parameters
Type Name Description
int propertyOrdinal

The ordinal position of the property in the collection of public properties of the type of the view element.

Property Value
Type Description
object

The value of the property.

Remarks

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 AsUpdatable<T>(View<T>)), it is allowed only if the view is not read-only (see IsReadOnly), and it results in updating one of the view's base data collections.

Only updatable properties can be set. An attempt to set a read-only property results in an exception. See IsReadOnly for more details.

this[string]

Gets or sets a value of the specified view property.

Declaration
public object this[string propertyName] { get; set; }
Parameters
Type Name Description
string propertyName

The name of the property.

Property Value
Type Description
object

The value of the property.

Remarks

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 AsUpdatable<T>(View<T>)), it is allowed only if the view is not read-only (see IsReadOnly), and it results in updating one of the view's base data collections.

Only updatable properties can be set. An attempt to set a read-only property results in an exception. See IsReadOnly for more details.