PartAlignment Property, GenericPartClass Class
Defines the part alignment of this part relative to its container and other parts.
Class: GenericPartClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
Syntax
public PartAlignmentEnum PartAlignment { get; set; }
Public Property PartAlignment As PartAlignmentEnum
Value
The part alignment.
The default value is PartAlignmentEnum.Near.
Comments
Defines the part alignment of this part relative to its container and other parts.
The order of the parts within the cell's parts collection determines the display order in the cell, but only for groups of parts that have the same GenericPartClass.PartAlignment property.
Parts are allocated space within the cell in the following order:
- EntireArea - One part takes up the entire space.
- FlushStart - The parts are lined up starting at the left/top exterior edge of the cell.
- FlushEnd - The parts are lined up starting at the right/bottom exterior edge of the cell.
- StartingEdge - The parts are lined up starting at the left/top edge of the cell's interior space.
- EndingEdge - The parts are lined up starting at the right/bottom edge of the cell's interior space.
- Near - The parts are lined up starting at the left/top edge of the remaining interior space, with a suitable gap.
- Far - The parts are lined up starting at the right/bottom edge of the remaining interior space, with a suitable gap.
- Center - The parts are centered within the remaining interior space.
See Also GenericPartClass Class | Classes | SftTree/NET 3.0