Creates a GwxGroup object.

Namespace: Ico.Gwx
Assembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.306.0 (10.97.306.00)

Collapse imageSyntax

C#
public static GwxGroup Create(
	GwxConfiguration config,
	GwxElement[] objectsToGroup,
	IGwxElementContainer parentElement,
	bool selectAfterCreate,
	GwxElement initializePropertiesFrom
)
Visual Basic
Public Shared Function Create ( _
	config As GwxConfiguration, _
	objectsToGroup As GwxElement(), _
	parentElement As IGwxElementContainer, _
	selectAfterCreate As Boolean, _
	initializePropertiesFrom As GwxElement _
) As GwxGroup
JScript
public static function Create(
	config : GwxConfiguration, 
	objectsToGroup : GwxElement[], 
	parentElement : IGwxElementContainer, 
	selectAfterCreate : boolean, 
	initializePropertiesFrom : GwxElement
) : GwxGroup

Parameters

config
Type: Ico.Gwx..::..GwxConfiguration
The GwxConfiguration object that owns the new object.
objectsToGroup
Type: array<Ico.Gwx..::..GwxElement>[]()[][]
The objects to include in the group.
parentElement
Type: Ico.Gwx..::..IGwxElementContainer
The IGwxElementContainer that will be the parent of the new GwxGroup.
selectAfterCreate
Type: System..::..Boolean
True to make the newly created GwxGroup selected.
initializePropertiesFrom
Type: Ico.Gwx..::..GwxElement
Optional GwxElement used to initialize the properties of the new object. If null, properties will be initialized to their default values.

Return Value

The newly created GwxGroup

Collapse imageSee Also