BindingMode Enumeration
Defines possible binding modes.
Definition
Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public enum BindingMode
Public Enumeration BindingMode
type BindingMode
Members
Default | 0 | Uses the default binding mode specified for the property. |
OneWay | 1 | Binds one way from source to target. |
TwoWay | 2 | Binds two-way with the initial value coming from the target. |
OneTime | 3 | Updates the target when the application starts or when the data context changes. |
OneWayToSource | 4 | Binds one way from target to source. |