Click or drag to resize

CustomVisualPropertyValueT Constructor (Visual, String, VisualReference)

Construct a CustomVisualPropertyValue for a given visual and custom property name. This will create the custom property if it doesn't exist and ensure the type of the value is a VisualReference. The VisualReference.Visual will be returned in the Visual property and cast to the type T derived from Visual.

Namespace:  Demo3D.Native
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public CustomVisualPropertyValue(
	Visual v,
	string name,
	VisualReference val
)

Parameters

v
Type: Demo3D.VisualsVisual
The visual to find or create the custom property for.
name
Type: SystemString
The name of the custom property.
val
Type: Demo3D.VisualsVisualReference
The initial visual reference to set the custom property value to.
See Also