Click or drag to resize

ControlPropertyConvertTo Method

Convert a value into one suitable for the widget.

Namespace:  Demo3D.ControlPanel
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
protected virtual Object ConvertTo(
	Object value,
	Type widgetType
)

Parameters

value
Type: SystemObject
The value to convert.
widgetType
Type: SystemType
The type expected by the control widget.

Return Value

Type: Object
The converted value, or null if conversion isn't possible.
See Also