Inserts a child GwxElement in this instance, before the specified reference child GwxElement.

Namespace: Ico.Gwx
Assembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public void InsertChildBefore(
	GwxElement newChild,
	GwxElement refChild
)
Visual Basic
Public Sub InsertChildBefore ( _
	newChild As GwxElement, _
	refChild As GwxElement _
)
JScript
public function InsertChildBefore(
	newChild : GwxElement, 
	refChild : GwxElement
)

Parameters

newChild
Type: Ico.Gwx..::..GwxElement
The GwxElement to insert.
refChild
Type: Ico.Gwx..::..GwxElement
The child GwxElement before which the new child will be inserted.

Remarks

If refChild is null, the newChild is inserted at the beginning of this instance's list of children.

See Also