Gets or sets a value that indicates the direction of the data flow in the binding.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
SyntaxC#
Copy Code
|
|---|
public BindingMode BindingMode { get; set; } |
Visual Basic
Copy Code
|
|---|
Public Property BindingMode As BindingMode |
A member of the System.Windows.Data.BindingMode enumeration. The default value is OneWay.
RemarksIf you set BindingMode to TwoWay, you should also implement the InstantiateNodeData and InstantiateLinkData callbacks to create data items when the user draws new diagram items. Set the base Behavior property to control exactly what type of items the user is allowed to draw.
See Also