Skip to main content

AvaloniaPropertyValue Class

Definition​

Assembly:Avalonia.Base
Package:Avalonia

Holds diagnostic-related information about the value of an Avalonia.AvaloniaProperty on an Avalonia.AvaloniaObject.

public class AvaloniaPropertyValue

Inheritance: object -> AvaloniaPropertyValue

Properties​

NameDescription
DiagnosticGets a diagnostic string.
IsOverriddenCurrentValueGets a value indicating whether the Avalonia.Diagnostics.AvaloniaPropertyValue.Value was overridden by a call to Avalonia.AvaloniaObject.SetCurrentValue<T>(Avalonia.StyledProperty{<>},<>).
PriorityGets the priority of the current value.
PropertyGets the property.
ValueGets the current property value.

Diagnostic Property​

Gets a diagnostic string.

public string Diagnostic { get; set; }

IsOverriddenCurrentValue Property​

Gets a value indicating whether the Avalonia.Diagnostics.AvaloniaPropertyValue.Value was overridden by a call to Avalonia.AvaloniaObject.SetCurrentValue<T>(Avalonia.StyledProperty{<>},<>).

public bool IsOverriddenCurrentValue { get; set; }

Priority Property​

Gets the priority of the current value.

public Avalonia.Data.BindingPriority Priority { get; set; }

Property Property​

Gets the property.

public Avalonia.AvaloniaProperty Property { get; set; }

Value Property​

Gets the current property value.

public object Value { get; set; }