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: 19.00.00
Syntax
C#
protected virtual Object ConvertTo(
	Object value,
	Type widgetType
)

Parameters

value  Object
The value to convert.
widgetType  Type
The type expected by the control widget.

Return Value

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