Click or drag to resize
DigitalRuneVisualChildCollectionSetItem Method
Replaces the element 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 SetItem(
	int index,
	UIControl item
)

Parameters

index
Type: SystemInt32
The zero-based index of the element to replace.
item
Type: DigitalRune.Game.UI.ControlsUIControl
The new value for the element at the specified index.
Exceptions
ExceptionCondition
ArgumentNullExceptionitem is .
InvalidOperationException Cannot insert node into collection - item is already in this collection or child of another object.
See Also