Returns the dependent items of this item.
Class: ItemClass
Namespace: Softelvdm.SftBoxNET
Assembly: Softelvdm.SftBoxNET
public ItemCollectionClass Children { get; }Public ReadOnly Property Children As ItemCollectionClass
The collection of dependents or null/Nothing if this item doesn't have any dependents.
Returns the dependent items of this item.
Child items (or dependents) can be added using the methods exposed by the ItemClass class, such as ItemClass.Add and ItemClass.InsertAfter or the ItemCollectionClass class, such as ItemCollectionClass.Add.
Once an item has been added, parts (such as instances of the TextPartClass) can be added to the cell.
The ItemClass.RemoveChildren method can be used to remove an item's dependents.
If many items are added, the SoftelvdmUserControl.Initializing property can be used to indicate a mass-update, which is significantly faster.
private Order order = new Order();
private Font previewFont;
public Form1() {
InitializeComponent();
boxes = new SftBox[] { sftBox1, sftBox2, sftBox3, sftBox4, sftBox5, sftBox6, sftBox7 };
sftBox1.SelectedItem = sftBox1.Items[5];
sftBox2.SelectedItem = sftBox2.Items[0].Children[1];
// with the Build phase collapsed, the rows shown, all items and the outline are numbered differently
sftBox7.Items[1].Collapse(CollapseStyleEnum.All);
// the installed fonts, each name shown in its own font, with an image for TrueType and OpenType fonts
sftBox3.FillFontNames(FontListOptionsEnum.ShowInFont | FontListOptionsEnum.ShowTypeImage);
sftBox3.Text = "Segoe UI";
Private order As New Order()
Private previewFont As Font
Public Sub New()
InitializeComponent()
boxes = New SftBox() {SftBox1, SftBox2, SftBox3, SftBox4, SftBox5, SftBox6, SftBox7}
SftBox1.SelectedItem = SftBox1.Items(5)
SftBox2.SelectedItem = SftBox2.Items(0).Children(1)
' with the Build phase collapsed, the rows shown, all items and the outline are numbered differently
SftBox7.Items(1).Collapse(CollapseStyleEnum.All)
' the installed fonts, each name shown in its own font, with an image for TrueType and OpenType fonts
SftBox3.FillFontNames(FontListOptionsEnum.ShowInFont Or FontListOptionsEnum.ShowTypeImage)
SftBox3.Text = "Segoe UI"See Also ItemClass Class | Classes | SftBox/NET 3.0