Creates a GwxDynamic derived object of the specified type and attaches it to the specified GwxDependencyObject.

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

Syntax

C#
public GwxDynamic CreateDynamic(
	Type dynamicType,
	GwxDependencyObject targetObject,
	bool invokeEditUI
)
Visual Basic
Public Function CreateDynamic ( _
	dynamicType As Type, _
	targetObject As GwxDependencyObject, _
	invokeEditUI As Boolean _
) As GwxDynamic
JScript
public function CreateDynamic(
	dynamicType : Type, 
	targetObject : GwxDependencyObject, 
	invokeEditUI : boolean
) : GwxDynamic

Parameters

dynamicType
Type: System..::..Type
The GwxDynamic derived type to create.
targetObject
Type: Ico.Gwx..::..GwxDependencyObject
The GwxDependencyObject with which to associate the new GwxDynamic.
invokeEditUI
Type: System..::..Boolean
True to start the on-screen edit user-interface for the new dynamic (if available).

Return Value

The newly created GwxDynamic, or null if unable to create the new dynamic.

See Also