Click or drag to resize
DigitalRuneVisualChildCollectionInsertItem Method
Inserts an element into the collection at the specified index.

Namespace: DigitalRune.Game.UI.Controls
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
protected override void InsertItem(
	int index,
	UIControl item
)

Parameters

index
Type: SystemInt32
The zero-based index at which item should be inserted.
item
Type: DigitalRune.Game.UI.ControlsUIControl
The object to insert.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is .
InvalidOperationException Cannot insert node into collection - item is already in this collection or child of another object.
See Also