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 basic appearance of a gadget.
Class: (none)
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
public enum GadgetAppearanceEnum;
Public Enum GadgetAppearanceEnum
Name | Description |
---|---|
Default | The gadget has an appearance which is determined by a containing object or by the environment. If no containing object or environmental information is available, GadgetAppearanceEnum.Default is identical to GadgetAppearanceEnum.ThemedSystem. |
System | The gadget has an appearance that mimics the current operating system, but does not use themes, even if these are enabled by the operating system. |
ThemedAppearance | The gadget emulates an appearance that mimics Windows XP themes, even on operating systems that do not offer themes. |
ThemedSystem | The gadget has an appearance that mimics the current operating system. For example, on Windows XP (and above), Windows themes would be used if these are enabled by the operating system. When Windows themes are used, certain color related properties no longer take effect, because the rendering is determined by the theme. |
Plain | The gadget has no particular appearance and is completely defined by its own attributes. |
Defines the basic appearance of a gadget.
Gadgets can change appearance based on an overall desired style or based on the operating system.
cell.Image = img; ip = (ImagePartClass) cell.Parts[0]; ip.Action += new GenericPartClass.ActionEventHandler(ip_Action); // 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,
cell.Image = img ip = cell.Parts(0) AddHandler ip.Action, AddressOf ip_Action ' 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, _
See Also | Classes | SftTree/NET 2.0