ControlPropertyCreate Method |
Create a control property referencing a property on the visual.
Namespace:
Demo3D.ControlPanel
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic static ControlProperty Create(
Visual visual,
string propertyName,
bool canRead = true,
bool canWrite = true
)
Parameters
- visual
- Type: Demo3D.VisualsVisual
The visual whose property is being controlled. - propertyName
- Type: SystemString
The name of the property on the visual that's being control. - canRead (Optional)
- Type: SystemBoolean
True if it's meaningful to read the value of the property. - canWrite (Optional)
- Type: SystemBoolean
True if the control can write a value to the property.
Return Value
Type:
ControlPropertyA control panel property.
See Also