ConstraintBuilder.ConstraintStack Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ConstraintStack is a type-safe stack for holding Constraints
public class ConstraintBuilder.ConstraintStack
type ConstraintBuilder.ConstraintStack = class
- Inheritance
-
ConstraintBuilder.ConstraintStack
Constructors
ConstraintBuilder.ConstraintStack(ConstraintBuilder) |
Initializes a new instance of the ConstraintBuilder.ConstraintStack class. |
Properties
Empty |
Gets a value indicating whether this ConstraintBuilder.ConstraintStack is empty. |
Top |
Gets the topmost constraint without modifying the stack. |
Methods
Pop() |
Pops this topmost constrait from the stack. As a side effect, the constraint's builder field is set to null. |
Push(Constraint) |
Pushes the specified constraint. As a side effect, the constraint's builder field is set to the ConstraintBuilder owning this stack. |