Class ReflectionBindingExtension
- Namespace
- Avalonia.Markup.Xaml.MarkupExtensions
- Assembly
- Avalonia.Markup.Xaml.dll
public class ReflectionBindingExtension
- Inheritance
-
ReflectionBindingExtension
- Inherited Members
Constructors
ReflectionBindingExtension()
public ReflectionBindingExtension()
ReflectionBindingExtension(string)
public ReflectionBindingExtension(string path)
Parameters
path
string
Properties
Converter
public IValueConverter? Converter { get; set; }
Property Value
ConverterCulture
[TypeConverter(typeof(CultureInfoIetfLanguageTagConverter))]
public CultureInfo? ConverterCulture { get; set; }
Property Value
ConverterParameter
public object? ConverterParameter { get; set; }
Property Value
Delay
Gets or sets the amount of time, in milliseconds, to wait before updating the binding source after the value on the target changes.
public int Delay { get; set; }
Property Value
Remarks
There is no delay when the source is updated via LostFocus or UpdateSource(). Nor is there a delay when OneWayToSource is active and a new source object is provided.
ElementName
public string? ElementName { get; set; }
Property Value
FallbackValue
public object? FallbackValue { get; set; }
Property Value
Mode
public BindingMode Mode { get; set; }
Property Value
Path
[ConstructorArgument("path")]
public string Path { get; set; }
Property Value
Priority
public BindingPriority Priority { get; set; }
Property Value
RelativeSource
public RelativeSource? RelativeSource { get; set; }
Property Value
Source
public object? Source { get; set; }
Property Value
StringFormat
public string? StringFormat { get; set; }
Property Value
TargetNullValue
public object? TargetNullValue { get; set; }
Property Value
UpdateSourceTrigger
Gets or sets a value that determines the timing of binding source updates for TwoWay and OneWayToSource bindings.
public UpdateSourceTrigger UpdateSourceTrigger { get; set; }
Property Value
Methods
ProvideValue(IServiceProvider)
public Binding ProvideValue(IServiceProvider serviceProvider)
Parameters
serviceProvider
IServiceProvider