1using System.Threading.Tasks;
18 : base(Document, Parent)
38 if (!(Children is
null))
54 base.MeasurePositions(State);
58 if (!(Children is
null))
Contains a 2D layout document.
Abstract base class of dynamic layout containers (i.e. containers that can generate child elements dy...
override bool MeasureChildrenPositions
If children positions are to be measured.
override void MeasurePositions(DrawingState State)
Measures layout entities and defines unassigned properties, related to positions.
DynamicContainer(Layout2DDocument Document, ILayoutElement Parent)
Abstract base class of dynamic layout containers (i.e. containers that can generate child elements dy...
override async Task Draw(DrawingState State)
Draws layout entities.
abstract ILayoutElement[] DynamicChildren
Dynamic array of children
Abstract base class for layout containers (area elements containing embedded layout elements).
ILayoutElement[] Children
Child elements
Interface for layout elements that generate children dynamically.
Base interface for all layout elements.
Task Draw(DrawingState State)
Draws layout entities.
bool IsVisible
If the element is visible or not.
void MeasurePositions(DrawingState State)
Measures layout entities and defines unassigned properties, related to positions.