DataSource for Entity Framework in WPF
C1.LiveLinq.LiveViews Namespace / ViewRow Class / Item Property / Item(Int32) Property
The ordinal position of the property in the collection of public properties of the type of the view element.

In This Topic
    Item(Int32) Property
    In This Topic
    Gets or sets a value of the specified view property.
    Syntax
    'Declaration
     
    Public Overloads Property Item( _
       ByVal propertyOrdinal As Integer _
    ) As Object
    public object Item( 
       int propertyOrdinal
    ) {get; set;}

    Parameters

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

    Property 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 C1.LiveLinq.LiveViewExtensions.AsUpdatable<T>), it is allowed only if the view is not read-only (see View.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 View.IsReadOnly for more details.

    See Also