Skip to main content

IAvaloniaXamlIlParentStackProvider Interface

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

Definition

Namespace: Avalonia.Markup.Xaml.XamlIl.Runtime
Assembly: Avalonia.Markup.Xaml (in Avalonia.Markup.Xaml.dll)

public interface IAvaloniaXamlIlParentStackProvider
View Source

Remarks

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

Properties

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.

Extension Methods

AsEagerParentStackProvider()Converts a IAvaloniaXamlIlParentStackProvider into a IAvaloniaXamlIlEagerParentStackProvider.
(Defined by XamlIlRuntimeHelpers)

See Also

Reference

Avalonia.Markup.Xaml.XamlIl.Runtime Namespace