ModelItemCollection.Item Property

When overridden in a derived class, gets or sets the item at the specified index. This is a dependency property.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride Default Property Item ( _
    index As Integer _
) As ModelItem
    Get
    Set
public abstract ModelItem this[
    int index
] { get; set; }
public:
virtual property ModelItem^ default[int index] {
    ModelItem^ get (int index) abstract;
    void set (int index, ModelItem^ value) abstract;
}
abstract Item : ModelItem with get, set
JScript does not support indexed properties.

Parameters

  • index
    Type: System.Int32
    The index to be set or retrieved.

Property Value

Type: Microsoft.Windows.Design.Model.ModelItem
A ModelItem representing the item at the specified index.

Implements

IList<T>.Item[Int32]

Dependency Property Information

Identifier field

ItemProperty

Metadata properties set to true

None

.NET Framework Security

See Also

Reference

ModelItemCollection Class

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture