Gets or sets a value of the specified view property.

Namespace:  C1.LiveLinq.LiveViews
Assembly:  C1.Silverlight.LiveLinq (in C1.Silverlight.LiveLinq.dll)

Syntax

C#
public Object this[
	string propertyName
] { get; set; }
Visual Basic
Public Property Item ( _
	propertyName As String _
) As Object
	Get
	Set

Parameters

propertyName
Type: System..::..String
The name of the property.

Return Value

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<(Of <<'(T>)>>)(View<(Of <<'(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.

See Also