BoxParentsStack
Class
Maintains the stack of layout boxes active during document-structure traversal.
Definition
Namespace:Telerik.WinForms.Documents.DocumentStructure
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class BoxParentsStack
Inheritance: objectBoxParentsStack
Constructors
Initializes an empty stack of layout boxes.
C#
public BoxParentsStack()
Properties
Methods
Gets an enumerator that visits boxes from the top of the stack toward the bottom.
C#
public Stack<LayoutBox>.Enumerator GetEnumerator()
Stack<LayoutBox>.Enumerator
A stack enumerator over the active layout boxes.
Gets the most recently pushed layout box without removing it.
C#
public LayoutBox Peek()
The layout box at the top of the stack.
Exceptions: InvalidOperationExceptionThe stack is empty.
Removes and returns the most recently pushed layout box.
C#
public LayoutBox Pop()
The layout box removed from the top of the stack.
Exceptions: InvalidOperationExceptionThe stack is empty.
Adds a layout box to the top of the stack.