VisualRemoveBindingInterface Method |
Add a custom property to the visual. This property is set to be a binding interface using the declared access rights.
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic void RemoveBindingInterface(
IBindingInterfaceOwner owner,
string name,
string prefix = null,
string separator = null
)
Parameters
- owner IBindingInterfaceOwner
- Name of custom property to create.
- name String
- Name of custom property to create.
- prefix String (Optional)
- If the visual already has a custom property with the same name this will force the property to have a unique name
- separator String (Optional)
- If the visual already has a custom property with the same name this will force the property to have a unique name
Return Value
A newly-created or updated CustomProperty object
Example
sender.AddCustomProperty("Label", "X", "My Label property");
var cp = sender.AddCustomProperty("Label", "X", "My Label property");
cp.Category = "My Properties";
sender.AddCustomProperty(
"Label",
"X",
"My Label property"
).Category = "My Properties";
See Also