Windows apps
Collapse the table of content
Expand the table of content

UIElementCollection.Insert method

Inserts an item into the collection at the specified index.

Syntax


public void Insert(
  int index, 
  UIElement item
)

Parameters

index

Type: System.Int32

The zero-based index at which item should be inserted.

item

Type: UIElement

The object to insert into the collection.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls

See also

UIElementCollection

 

 

Build date: 3/12/2013

Show:
© 2017 Microsoft