Skip to main content

IAvaloniaXamlIlParentStackProvider Interface

Definition​

Assembly:Avalonia.Markup.Xaml
Package:Avalonia

Provides the parents for the current XAML node in a lazy way.

public interface IAvaloniaXamlIlParentStackProvider

Remarks​

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

Properties​

NameDescription
ParentsGets an enumerator iterating over the available parents in the whole hierarchy. The parents are returned in normal order: the first element is the most direct parent while the last element is the most distant ancestor.

Parents Property​

Gets an enumerator iterating over the available parents in the whole hierarchy. The parents are returned in normal order: the first element is the most direct parent while the last element is the most distant ancestor.

public System.Collections.Generic.IEnumerable<object> Parents { get; set; }