Skip to main content

IAvaloniaXamlIlEagerParentStackProvider Interface

Definition

Assembly:Avalonia.Markup.Xaml
Package:Avalonia

Provides the parents for the current XAML node in an eager way, avoiding allocations when possible.

public interface IAvaloniaXamlIlEagerParentStackProvider

Remarks

This interface is used by the XAML compiler and shouldn't be implemented in your code.

Properties

NameDescription
DirectParentsStackGets the directly available parents (which don't include ones returned by parent providers). The parents are returned in reverse order: the last element is the most direct parent while the first element is the most distant ancestor.
ParentProviderGets the parent Avalonia.Markup.Xaml.XamlIl.Runtime.IAvaloniaXamlIlEagerParentStackProvider, if available.

DirectParentsStack Property

Gets the directly available parents (which don't include ones returned by parent providers). The parents are returned in reverse order: the last element is the most direct parent while the first element is the most distant ancestor.

public System.Collections.Generic.IReadOnlyList<object> DirectParentsStack { get; set; }

ParentProvider Property

Gets the parent Avalonia.Markup.Xaml.XamlIl.Runtime.IAvaloniaXamlIlEagerParentStackProvider, if available.

public Avalonia.Markup.Xaml.XamlIl.Runtime.IAvaloniaXamlIlEagerParentStackProvider ParentProvider { get; set; }