Skip to main content

BindingPriority Enum

Definition

Namespace:Avalonia.Data
Assembly:Avalonia.Base
Package:Avalonia

The priority of a value or binding.

public enum BindingPriority

Inheritance: Enum -> BindingPriority

Fields

NameDescription
AnimationA value that comes from an animation.
InheritedThe value is inherited from an ancestor element.
LocalValueA local value.
StyleA style value.
StyleTriggerA triggered style value.
TemplateA value from the control's template.
UnsetThe value is uninitialized.

Animation Field

A value that comes from an animation.

public Avalonia.Data.BindingPriority Animation

Inherited Field

The value is inherited from an ancestor element.

public Avalonia.Data.BindingPriority Inherited

LocalValue Field

A local value.

public Avalonia.Data.BindingPriority LocalValue

Style Field

A style value.

public Avalonia.Data.BindingPriority Style

StyleTrigger Field

A triggered style value.

public Avalonia.Data.BindingPriority StyleTrigger

Remarks

A style trigger is a selector such as .class which overrides a Avalonia.Data.BindingPriority.Template value. In this way, a control can have, e.g. a Background from the template which changes when the control has the :pointerover class.

Template Field

A value from the control's template.

public Avalonia.Data.BindingPriority Template

Unset Field

The value is uninitialized.

public Avalonia.Data.BindingPriority Unset