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