The drag-resize splitters for this panel
A read-only array of this StackPanel's children.
Private method to mark a subtree in an update loop.
This is only intended for use by the DashboardLayout.
Private method to update skipped subtrees in an update loop.
This is only intended for use by the DashboardLayout.
Insert a new child at the "end" of this container.
The default implementation of this function calls insertChild() with the length of the children as 'i'.
The new child to insert into this container
Reset all attached properties for a region
Copy attached properties from one child to another
Create a drag shadow for one of this region's children.
The region that is being dragged
The X coordinate that the drag will start from
The Y coordinate that the drag will start from
A valid HTML node that will follow the mouse during the drag.
Installs a message tap on the content to listen for child-removed.
This tap is necessary for regions that use a custom layout algorithm, since the parent won't necessarily be notified when a Panel child is removed.
Function to layout the children within this stack panel.
[[ ]]
: A name enclosed in double brackets is a region layout property[[flexSize]]
in it's properties[[fixedSize]]
in
it's propertiesuseAccordions
= false
if <a href="../interfaces/istackpanelproperties.html#accordionmode">accordionMode</a>
= 'None'
else true
splitterSize
= 25
if useAccordions
else [[splitterSize]]
minSize
= 0.maxSize
= (the size of the parent container in the basis-direction)totalFlex
= 0.<a href="../interfaces/regionwithchildren.iprops.html#showregion">showRegion</a>
:splitterSize
to minSize
useAccordions
and the element does not have <a href="stackpanellayoutregion.html#isexpanded">IsExpanded</a>
:[[fixedSize]]
to minSize
.[[flexSize]]
to totalFlex
useAccordions
:splitterSize
from minSize
COMMENT. don't render last splitterminSize
exceeds maxSize
:totalFlex
to Infinity
COMMENT. do not allow flex items to layout, but leave their splitters in placeflowSize
= (maxSize
- minSize
) / totalFlex
.useAccordions
and the element does not have <a href="stackpanellayoutregion.html#isexpanded">IsExpanded</a>
:<a href="../interfaces/regionwithchildren.iprops.html#showregion">showRegion</a>
:[[flexSize]]
* flowSize
[[fixedSize]]
<a href="../interfaces/regionwithchildren.iprops.html#showregion">showRegion</a>
:useAccordions
:<a href="../interfaces/regionwithchildren.iprops.html#showregion">showRegion</a>
:Handle that gets called when this region recieves a new child.
The child being added
Handle that gets called when a child is removed from this region.
Clean up this subtree by removing auto-generated empty regions.
This is a framework function and not meant to be called by user code. The MavenWorks framework will automatically manage the health of the layout, pruning when useful.
Whether a region is "prunable" or not is specified by the <a href="../interfaces/regionwithchildren.iprops.html#prunable">prunable</a>
layout property. For regions created with SurroundWith, this property is
true.
Set this region and all it's children as fresh.
Iterate through all the children of this region, depth-first.
Generated using TypeDoc
Represents a linear stack of widgets, arranged either top-to-bottom or left-to-right. The root element of any dashboard is a StackPanel. StackPanels may be arbitrarily nested, and may host any other layout regions as children.