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 state of a radiobutton.
Class: (none)
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET
public enum RadioButtonStateEnum;
Public Enum RadioButtonStateEnum
Name | Description |
---|---|
Unchecked | The radiobutton is not selected. |
Checked | The radiobutton is selected. |
Defines the state of a radiobutton.
// Add an item ItemClass item = sftTree1.ItemCollection.Add(); CellClass cell = item.Cells[0]; item.Image = img; cell.Text = "Category 1"; // Add some sub items ItemClass subItem = item.Add(); RadioButtonPartClass rb = new RadioButtonPartClass(RadioButtonStateEnum.Checked); subItem.Cells[0].Parts.Add(rb); subItem.Cells[0].Parts.Add(new CheckBoxPartClass()); subItem.Cells[0].Parts.Add(new TextPartClass("Item 1")); subItem = item.Add(); rb = new RadioButtonPartClass(RadioButtonStateEnum.Unchecked); subItem.Cells[0].Parts.Add(rb); subItem.Cells[0].Parts.Add(new TextPartClass("Item 2")); subItem = item.Add();
' Add an item Dim item As ItemClass = sftTree1.ItemCollection.Add() Dim cell As CellClass = item.Cells(0) item.Image = img cell.Text = "Category 1" ' Add some sub items Dim subItem As ItemClass = item.Add() Dim rb As RadioButtonPartClass = New RadioButtonPartClass(RadioButtonStateEnum.Checked) subItem.Cells(0).Parts.Add(rb) subItem.Cells(0).Parts.Add(New CheckBoxPartClass()) subItem.Cells(0).Parts.Add(New TextPartClass("Item 1")) subItem = item.Add() rb = New RadioButtonPartClass(RadioButtonStateEnum.Unchecked) subItem.Cells(0).Parts.Add(rb) subItem.Cells(0).Parts.Add(New TextPartClass("Item 2")) subItem = item.Add()
See Also | Classes | SftTree/NET 2.0