Summary
Defines possible binding modes.
- Namespace
- Avalonia
.Data - Interfaces
-
- IComparable
- IFormattable
- IConvertible
- Base Types
-
- object
- ValueType
- Enum
graph BT
Type-->Base0["Enum"]
Base0-->Base1["ValueType"]
Base1-->Base2["object"]
Type-.->Interface0["IComparable"]
Type-.->Interface1["IFormattable"]
Type-.->Interface2["IConvertible"]
Type["BindingMode"]
class Type type-node
Syntax
public enum BindingMode
Fields
Name | Constant Value | Summary |
---|---|---|
Default | 0 |
Uses the default binding mode specified for the property.
static
|
OneTime | 3 |
Updates the target when the application starts or when the data context changes.
static
|
OneWay | 1 |
Binds one way from source to target.
static
|
OneWayToSource | 4 |
Binds one way from target to source.
static
|
TwoWay | 2 |
Binds two-way with the initial value coming from the target.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
HasAllFlags |
bool |
From EnumExtensions
|
HasAnyFlag |
bool |
From EnumExtensions
|
HasFlagCustom |
bool |
From EnumExtensions
|