SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the cell parts orientation.
Class: (none)
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
public enum OrientationOptionalEnum;
Public Enum OrientationOptionalEnum
Name | Description |
---|---|
Default | The orientation is determined by the location, where the cell is used (see below). |
Horizontal | Parts are positioned next to each other. |
Vertical | Parts are positioned one below the other. |
Defines the cell parts orientation.
Parts in a cell can have either a horizontal orientation (parts are positioned next to each other) or a vertical orientation (parts are positioned one below the other).
SftTree.OrientationDefault for items, HeadersClass.OrientationDefault for column headers and FootersClass.OrientationDefault for column footers.
ddp.PartAlignment = PartAlignmentEnum.FlushEnd; cell.Parts.Add(ddp); // Add another item item = sftTree1.ItemCollection.Add(); // Add three parts with a vertical orientation to the first cell cell = item.Cells[0]; cell.Orientation = OrientationOptionalEnum.Vertical; tp = new TextPartClass("First part"); tp.HAlign = HAlignmentOptionalEnum.Left; cell.Parts.Add(tp); ip = new ImagePartClass(img); ip.HAlign = HAlignmentOptionalEnum.Center; cell.Parts.Add(ip); tp = new TextPartClass("Third part");
ddp.PartAlignment = PartAlignmentEnum.FlushEnd cell.Parts.Add(ddp) ' Add another item item = sftTree1.ItemCollection.Add() ' Add three parts with a vertical orientation to the first cell cell = item.Cells(0) cell.Orientation = OrientationOptionalEnum.Vertical tp = New TextPartClass("First part") tp.HAlign = HAlignmentOptionalEnum.Left cell.Parts.Add(tp) ip = New ImagePartClass(img) ip.HAlign = HAlignmentOptionalEnum.Center cell.Parts.Add(ip) tp = New TextPartClass("Third part")
See Also | Classes | SftTree/NET 2.0