HeaderPane
Main
Hide
Share Link
Print

RowHeaderNumberingEnum Enumeration

Used with the RowHeaders.Numbering property to define the number shown in row headers without contents.

Class: (none)
Namespace: Softelvdm.SftBoxNET
Assembly: Softelvdm.SftBoxNET

Syntax

public enum RowHeaderNumberingEnum;
Public Enum RowHeaderNumberingEnum

Values

NameDescription
NoneRow headers show only their own contents.
RowsRow headers show the number of the row, counting the items shown from the first item (1, 2, 3). The numbers change when items are expanded or collapsed.
ItemsRow headers show the position of the item among all items, including the dependents of collapsed items (1, 2, 3).
OutlineRow headers show the position of the item among its siblings, preceded by the positions of its parent items (1, 1.1, 1.2, 2).

Comments

Used with the RowHeaders.Numbering property to define the number shown in row headers without contents.

Examples

C# View entire sample code

            if (sftBox3.SelectedItem == null && sftBox3.Items.Count > 0)
                sftBox3.SelectedItem = sftBox3.Items[0];

            BindLookup();

            FillCombo(comboSearch, typeof(SearchModeEnum), sftBox5.SearchMode);
            FillCombo(comboAlignment, typeof(DropDownAlignmentEnum), sftBox1.DropDownAlignment);
            FillCombo(comboPosition, typeof(DropDownPositionEnum), sftBox1.DropDownPosition);
            FillCombo(comboNumbering, typeof(RowHeaderNumberingEnum), sftBox7.List.RowHeaders.Numbering);
            FillCombo(comboDarkMode, typeof(DarkModeEnum), sftBox1.DarkMode);
            FillCombo(comboHighContrast, typeof(HighContrastModeEnum), sftBox1.HighContrastMode);
            DpiChanged += Form1_DpiChanged;
        }

        // On the .NET Framework, a ComboBox in a container keeps its old font when the window moves to a monitor with
        // another scale. Setting another font and then the inherited one again makes it use the new one.

VB.NET View entire sample code

            SftBox3.SelectedItem = SftBox3.Items(0)
        End If

        BindLookup()

        FillCombo(ComboSearch, GetType(SearchModeEnum), SftBox5.SearchMode)
        FillCombo(ComboAlignment, GetType(DropDownAlignmentEnum), SftBox1.DropDownAlignment)
        FillCombo(ComboPosition, GetType(DropDownPositionEnum), SftBox1.DropDownPosition)
        FillCombo(ComboNumbering, GetType(RowHeaderNumberingEnum), SftBox7.List.RowHeaders.Numbering)
        FillCombo(ComboDarkMode, GetType(DarkModeEnum), SftBox1.DarkMode)
        FillCombo(ComboHighContrast, GetType(HighContrastModeEnum), SftBox1.HighContrastMode)
    End Sub

    ' On the .NET Framework, a ComboBox in a container keeps its old font when the window moves to a monitor with
    ' another scale. Setting another font and then the inherited one again makes it use the new one.
    Private Sub Form1_DpiChanged(ByVal sender As Object, ByVal e As DpiChangedEventArgs) Handles Me.DpiChanged

See Also | Classes | SftBox/NET 3.0