BindingMode Enum
Definition
Defines possible binding modes.
public enum BindingMode
Fields
| Name | Description |
|---|---|
| Default | Uses the default binding mode specified for the property. |
| OneTime | Updates the target when the application starts or when the data context changes. |
| OneWay | Binds one way from source to target. |
| OneWayToSource | Binds one way from target to source. |
| TwoWay | Binds two-way with the initial value coming from the target. |
Default Field
Uses the default binding mode specified for the property.
public Avalonia.Data.BindingMode Default
OneTime Field
Updates the target when the application starts or when the data context changes.
public Avalonia.Data.BindingMode OneTime
OneWay Field
Binds one way from source to target.
public Avalonia.Data.BindingMode OneWay
OneWayToSource Field
Binds one way from target to source.
public Avalonia.Data.BindingMode OneWayToSource
TwoWay Field
Binds two-way with the initial value coming from the target.
public Avalonia.Data.BindingMode TwoWay