Gets or sets a value of the specified view property.
Namespace:
C1.LiveLinq.LiveViewsAssembly: C1.LiveLinq (in C1.LiveLinq.dll)
Syntax
C# |
---|
public Object this[ int propertyOrdinal ] { get; set; } |
Visual Basic |
---|
Public Default Property Item ( _ propertyOrdinal As Integer _ ) As Object Get Set |
Parameters
- propertyOrdinal
- Type: System..::..Int32
The ordinal position of the property in the collection of public properties of the type of the view element.
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.