Summary
Creates a new one-time binding with a fixed value.
- Namespace
- Avalonia
.Data - Containing Type
- InstancedBinding
Syntax
public static InstancedBinding OneTime(object value, BindingPriority priority = LocalValue)
Parameters
Name | Type | Description |
---|---|---|
value | object | The value. |
priority | BindingPriority | The priority of the binding. |
Return Value
Type | Description |
---|---|
InstancedBinding | An InstancedBinding instance. |