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 progressbar appearance.
Class: ProgressBarPartClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
public GadgetAppearanceEnum Appearance { get; set; }
Public Property Appearance As GadgetAppearanceEnum
The appearance.
The default value is GadgetAppearanceEnum.Default.
Defines the progressbar appearance.
If the Appearance property is set to GadgetAppearanceEnum.Default, the appearance as defined by the GadgetsClass.ProgressBarAppearanceDefault property is used.
If the appearance uses Windows themes, the ProgressBarPartClass.ProgressColor and ProgressBarPartClass.ProgressColorEnd properties are not used.
// Add another item item = sftTree1.ItemCollection.Add(); // Add a progressbar to the first cell ProgressBarPartClass pbp = new ProgressBarPartClass(0, 50, 25, 100, 12, GadgetAppearanceEnum.ThemedSystem, Color.Red, Color.White, System.Drawing.Drawing2D.LinearGradientMode.Vertical); pbp.PartAlignment = PartAlignmentEnum.EntireArea; pbp.Appearance = GadgetAppearanceEnum.System; item.Cells[0].Parts.Add(pbp); // Add a button to the second cell ButtonPartClass bp = new ButtonPartClass(false, HAlignmentOptionalEnum.Default, VAlignmentOptionalEnum.Default, true, false, GadgetAppearanceEnum.ThemedSystem, null, "Click Me", null, Color.Red); bp.Action += new GenericPartClass.ActionEventHandler(bp_Action); item.Cells[1].Parts.Add(bp);
' Add another item item = sftTree1.ItemCollection.Add() ' Add a progressbar to the first cell Dim pbp As ProgressBarPartClass = New ProgressBarPartClass(0, 50, 25, 100, 12, GadgetAppearanceEnum.ThemedSystem, _ Color.Red, Color.White, System.Drawing.Drawing2D.LinearGradientMode.Vertical) pbp.PartAlignment = PartAlignmentEnum.EntireArea pbp.Appearance = GadgetAppearanceEnum.System item.Cells(0).Parts.Add(pbp) ' Add a button to the second cell Dim bp As ButtonPartClass = New ButtonPartClass(False, HAlignmentOptionalEnum.Default, VAlignmentOptionalEnum.Default, _ True, False, GadgetAppearanceEnum.ThemedSystem, Nothing, "Click Me", Nothing, Color.Red) AddHandler bp.Action, AddressOf bp_Action item.Cells(1).Parts.Add(bp)
See Also ProgressBarPartClass Class | Classes | SftTree/NET 2.0