Class StickyPositionConstraint
Sticky position constraints.
public sealed record StickyPositionConstraint : IEquatable<StickyPositionConstraint>
- Inheritance
-
StickyPositionConstraint
- Implements
- Inherited Members
Constructors
StickyPositionConstraint(Rect, Rect)
Sticky position constraints.
public StickyPositionConstraint(Rect StickyBoxRect, Rect ContainingBlockRect)
Parameters
StickyBoxRectRectLayout rectangle of the sticky element before being shifted
ContainingBlockRectRectLayout rectangle of the containing block of the sticky element
Properties
ContainingBlockRect
Layout rectangle of the containing block of the sticky element
public Rect ContainingBlockRect { get; init; }
Property Value
NearestLayerShiftingContainingBlock
The nearest sticky layer that shifts the containing block
public LayerId? NearestLayerShiftingContainingBlock { get; init; }
Property Value
NearestLayerShiftingStickyBox
The nearest sticky layer that shifts the sticky box
public LayerId? NearestLayerShiftingStickyBox { get; init; }
Property Value
StickyBoxRect
Layout rectangle of the sticky element before being shifted
public Rect StickyBoxRect { get; init; }