Creates a new GwxElement using the specified parameters.
Namespace: Ico.GwxAssembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
Visual Basic |
---|
Public Function CreateObject ( _
newVisual As Visual, _
dimensions As Rect, _
parentElement As IGwxElementContainer, _
selectAfterCreate As Boolean, _
initializePropertiesFrom As GwxElement _
) As GwxElement |
Parameters
- newVisual
- Type: System.Windows.Media..::..Visual
A visual to be wrapped by the new GwxElement instance.
- dimensions
- Type: System.Windows..::..Rect
The initial dimensions of the object. Specify Empty to skip initialization of dimensions.
- parentElement
- Type: Ico.Gwx..::..IGwxElementContainer
The element that will be the parent of the new object.
- selectAfterCreate
- Type: System..::..Boolean
True to initially select the newly created object.
- initializePropertiesFrom
- Type: Ico.Gwx..::..GwxElement
Object from which to copy initial property values (may be null).
Return Value
The newly create GwxElement object.
See Also