Table of Contents

Class SliceArea

Namespace
Whim.SliceLayout
Assembly
Whim.SliceLayout.dll
An area that can have IWindows as children. There can be multiple SliceAreas in a layout engine, ordered by their Orders.
public record SliceArea : BaseSliceArea, IArea, IEquatable<BaseArea>, IEquatable<BaseSliceArea>, IEquatable<SliceArea>
Inheritance
SliceArea
Implements
Inherited Members

Constructors

SliceArea(uint, uint, bool)

Creates a new SliceArea with the given order and maximum number of children.
public SliceArea(uint order = 0, uint maxChildren = 1, bool isRow = false)

Parameters

order uint
maxChildren uint
isRow bool

Properties

MaxChildren

Maximum number of children this area can have. This must be a non-negative integer.
public int MaxChildren { get; }

Property Value

int

Order

0-indexed order of this area in the layout engine.
public int Order { get; }

Property Value

int