The following supplemental data is common of all types of cells layouts. It is generally split into two categories:
- Cell bounds (cell) data- this is the supplemental data, which provides the layout with hints about how large a cell can be. Currently cells layouts support the following cell data:
MinSize - a NSizeF value, which specifies the min size of a cell bounds. Layouts may or may not respect this setting.
MaxSize - a NSizeF value, which specifies the max size of a cell bounds. Layouts may or may not respect this setting. - Content bounds (content) data - this is the supplemental data, which controls the per-vertex fitting of the content into the allocated cell. Currently cells layouts support the following content data:
HorizontalContentPlacement - a value from the ContentPlacement enumeration, which specifies how content is horizontally placed in the cell. If not specifies the default setting is obtained by the HorizontalContentPlacement property of the NCellsLayout class.
VerticalContentPlacement - a value from the ContentPlacement enumeration, which specifies how content is vertically placed in the cell. If not specifies the default setting is obtained by the VerticalContentPlacement property of the NCellsLayout class.
In Nevron Diagram these properties are members of the NLayoutData class, accessible from the LayoutData property of each shape. The NShapeBodyAdapter adapts the values of the layout data for you.