Struct ArrangeConstraints
Immutable input to an arrangement operation.
public readonly struct ArrangeConstraints
- Inherited Members
Constructors
ArrangeConstraints(Size, Size, Point, LayoutSizeMode, LayoutSizeMode, LayoutAlign, LayoutAlign)
Initializes arrangement constraints.
public ArrangeConstraints(Size availableSize, Size desiredSize, Point anchor, LayoutSizeMode xSize = LayoutSizeMode.Exact, LayoutSizeMode ySize = LayoutSizeMode.Exact, LayoutAlign xAlign = LayoutAlign.Start, LayoutAlign yAlign = LayoutAlign.Start)
Parameters
availableSizeSizedesiredSizeSizeanchorPointxSizeLayoutSizeModeySizeLayoutSizeModexAlignLayoutAlignyAlignLayoutAlign
Properties
Anchor
Reference point for alignment.
public Point Anchor { get; }
Property Value
AvailableSize
Available margin-box size.
public Size AvailableSize { get; }
Property Value
DesiredSize
Desired margin-box size from measurement.
public Size DesiredSize { get; }
Property Value
XAlign
Horizontal anchor alignment.
public LayoutAlign XAlign { get; }
Property Value
XSize
Horizontal sizing mode.
public LayoutSizeMode XSize { get; }
Property Value
YAlign
Vertical anchor alignment.
public LayoutAlign YAlign { get; }
Property Value
YSize
Vertical sizing mode.
public LayoutSizeMode YSize { get; }