Click or drag to resize

CustomVisualPropertyValueT(Visual, String, VisualReference) Constructor

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: 19.00.00
Syntax
C#
public CustomVisualPropertyValue(
	Visual v,
	string name,
	VisualReference val
)

Parameters

v  Visual
The visual to find or create the custom property for.
name  String
The name of the custom property.
val  VisualReference
The initial visual reference to set the custom property value to.
See Also