BindingMode Enumeration

Defines possible binding modes.

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public enum BindingMode

Members

Default0 Uses the default binding mode specified for the property.
OneWay1 Binds one way from source to target.
TwoWay2 Binds two-way with the initial value coming from the target.
OneTime3 Updates the target when the application starts or when the data context changes.
OneWayToSource4 Binds one way from target to source.

See Also