Skip to main content

BindingMode Enumeration

Defines possible binding modes.

Definition

Namespace: Avalonia.Data
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public enum BindingMode
View Source

Members

Default0Uses the default binding mode specified for the property.
OneWay1Binds one way from source to target.
TwoWay2Binds two-way with the initial value coming from the target.
OneTime3Updates the target when the application starts or when the data context changes.
OneWayToSource4Binds one way from target to source.

See Also

Reference

Avalonia.Data Namespace