|
|
|
PartAlignmentEnum Enumeration |
Defines the alignment of the part within a cell (derived from CellBaseClass).
Syntax PartAlignmentEnum Enumeration (Softelvdm.Controls)
VB |
Public Enum PartAlignmentEnum |
C# |
public enum PartAlignmentEnum |
C++ |
public enum class PartAlignmentEnum |
Member |
Value |
Description |
EntireArea | 0 | The part occupies the entire cell. In this case, only one part should be present in the CellBaseClass.Parts collection.
|
FlushStart | 1 | Horizontal Layout (CellBaseClass.Orientation): The part starts at the left edge of the remaining cell space and extends to the right.
It is flush left-aligned within the cell, without any gap horizontally or vertically.
|
StartingEdge | 2 | Horizontal Layout (CellBaseClass.Orientation): The part starts at the left edge of the remaining cell space and extends to the right.
It is flush left-aligned within the cell, without any gap horizontally. Vertically, the available space is restricted
by the top and bottom gap (defined using the PartsTopEdge and PartsBottomEdge properties).
|
Near | 3 | Horizontal Layout (CellBaseClass.Orientation): A left gap (see PartsLeftEdge) starts at the left edge of
the remaining cell space and is followed by the part, which extends to the right.
Vertically, the available space is restricted by the top and bottom gap (defined using the PartsTopEdge and PartsBottomEdge properties).
|
Center | 4 | Horizontal Layout (CellBaseClass.Orientation): The part is horizontally centered within the remaining interior cell space and is followed by a
right gap (see PartsRightEdge). Vertically, the available space is
restricted by the top and bottom gap (defined using the PartsTopEdge and PartsBottomEdge properties).
|
Far | 5 | Horizontal Layout (CellBaseClass.Orientation): A right gap (see PartsRightEdge) starts at the right edge of
the remaining interior cell space and is preceded by the part, which extends to the left. Vertically, the available space is restricted by the top and bottom gap (defined using the PartsTopEdge and PartsBottomEdge properties).
|
EndingEdge | 6 | Horizontal Layout (CellBaseClass.Orientation): A right gap (see PartsRightEdge) starts at the right edge of
the remaining interior cell space and is preceded by the part, which extends to the left.
Vertically, the available space is restricted by the top and bottom gap (defined using the PartsTopEdge and PartsBottomEdge properties).
|
FlushEnd | 7 | Horizontal Layout (CellBaseClass.Orientation): The part starts at the right edge of the remaining interior cell space and extends to the left.
It is flush right-aligned within the cell, without any gap horizontally or vertically.
|
Comments
The PartAlignmentEnum enumeration defines the alignment of the part within a cell (derived from CellBaseClass).
When parts are rendered within a cell, they are rendered in the order as they appear in the CellBaseClass.Parts collection.
As each part is rendered, its PartAlignment property defines where the part is located within the remaining available cell space.
Version Information
Supported in version 1.0.
Products Table