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 font used to render the text part.
Class: TextPartClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
public Font Font { get; set; }
Public Property Font As Font
The font.
The default value is null/Nothing.
Defines the font used to render the text part.
RowHeaderClass rhd = item.RowHeader; rhd.AllowMergeFromUpper = BoolOptionalEnum.True; rhd.MergeWithLower = BoolOptionalEnum.True; rhd.Parts.Clear(); } item = sftTree1.ItemCollection[1]; item.RowHeader.Text = "Vertical"; Font f = new Font("Arial", 8, FontStyle.Bold, GraphicsUnit.Point); item.RowHeader.TextPart.Font = f; item.RowHeader.TextPart.Format |= StringFormatFlags.DirectionVertical; item.RowHeader.Parts.Add(new ImagePartClass(img)); // Make column widths and row header area width optimal sftTree1.Columns.MakeOptimal(0, false); sftTree1.RowHeaders.MakeOptimal(0, false); // Activate the horizontal scrollbar
rhd.MergeWithLower = BoolOptionalEnum.True rhd.Parts.Clear() count = count - 1 item = item.NextSibling Loop item = sftTree1.ItemCollection(1) item.RowHeader.Text = "Vertical" Dim f As Font = New Font("Arial", 8, FontStyle.Bold, GraphicsUnit.Point) item.RowHeader.TextPart.Font = f item.RowHeader.TextPart.Format = item.RowHeader.TextPart.Format Or StringFormatFlags.DirectionVertical item.RowHeader.Parts.Add(New ImagePartClass(img)) ' Make column widths and row header area width optimal sftTree1.Columns.MakeOptimal(0, False) sftTree1.RowHeaders.MakeOptimal(0, False) ' Activate the horizontal scrollbar
See Also TextPartClass Class | Classes | SftTree/NET 2.0