SimplePropertyValueT(Visual, String, T) Constructor |
Construct an SimplePropertyValue 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 T.
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.
Namespace: Demo3D.NativeAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic SimplePropertyValue(
Visual v,
string propertyName,
T initialValue
)
Parameters
- v Visual
- The visual to find or create the simple custom property for.
- propertyName String
- The name of the simple custom property.
- initialValue T
- The initial value of the simple custom property.
See Also