Creates a GwxBorder object around an existing element.

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

Syntax

C#
public static GwxBorder AddBorder(
	GwxConfiguration config,
	GwxElement objectToDecorate,
	GwxElement initializePropertiesFrom
)
Visual Basic
Public Shared Function AddBorder ( _
	config As GwxConfiguration, _
	objectToDecorate As GwxElement, _
	initializePropertiesFrom As GwxElement _
) As GwxBorder
JScript
public static function AddBorder(
	config : GwxConfiguration, 
	objectToDecorate : GwxElement, 
	initializePropertiesFrom : GwxElement
) : GwxBorder

Parameters

config
Type: Ico.Gwx..::..GwxConfiguration
The GwxConfiguration object that owns the new object.
objectToDecorate
Type: Ico.Gwx..::..GwxElement
The object to which to add the border.
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 GwxBorderBase

See Also