Struct ViewExtensions.ParentsEnumerable.Enumerator
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
startViewThe starting view for traversal.
Properties
Current
Gets the current parent view in the traversal.
public View Current { get; }
Property Value
Methods
MoveNext()
Moves to the next parent view.
public bool MoveNext()
Returns
- bool
True if there is a next parent; otherwise, false.