Click or drag to resize

SimpleVisualPropertyValueT(Visual, String) Constructor

Construct a SimpleVisualPropertyValue 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 property will be shown in the Simple section of the property grid in the user interface. A property alias will be created for this property if it didn't already exist. 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 SimpleVisualPropertyValue(
	Visual v,
	string name
)

Parameters

v  Visual
The visual to find or create the simple custom property for.
name  String
The name of the simple custom property.
See Also