Table of Contents

Struct ViewExtensions.ParentsEnumerable.Enumerator

Namespace
Xui.Core.UI
Assembly
Xui.Core.dll

Enumerator for ViewExtensions.ParentsEnumerable, walking up the view hierarchy.

public ref struct ViewExtensions.ParentsEnumerable.Enumerator
Inherited Members

Constructors

Enumerator(View?)

Initializes a new instance of the ViewExtensions.ParentsEnumerable.Enumerator struct.

public Enumerator(View? start)

Parameters

start View

The starting view for traversal.

Properties

Current

Gets the current parent view in the traversal.

public View Current { get; }

Property Value

View

Methods

MoveNext()

Moves to the next parent view.

public bool MoveNext()

Returns

bool

True if there is a next parent; otherwise, false.