HeaderPane
Main
Hide
Share Link
Print

Name Property, TabClass Class

Defines the tab's name.

Class: TabClass
Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET

Syntax

public string Name { get; set; }
Public Property Name As String

Value

A name used to look up the tab in the SftTabs.Tabs collection.

The default value is String.Empty.

Comments

Defines the tab's name.

Examples

C# View entire sample code

                } else
                    return;
            } else {
                strLastEvent = title;
                fLastEventDup = false;

                PropertyInfo[] api = o.GetType().GetProperties();
                foreach (PropertyInfo pi in api)
                    s += pi.Name + "=" + Describe(pi.GetValue(o, new object[] { })) + " ";
                FieldInfo[] afi = o.GetType().GetFields();
                foreach (FieldInfo fi in afi)
                    s += fi.Name + "=" + Describe(fi.GetValue(o)) + " ";
            }

            ListViewItem item = listView1.Items.Add(new ListViewItem(new string[] { title, s }));
            listView1.SelectedItems.Clear();

VB.NET View entire sample code

            Return
        End If
    Else
        strLastEvent = title
        fLastEventDup = False

        Dim api() As PropertyInfo = o.GetType().GetProperties()
        For Each pi As PropertyInfo In api
            s += pi.Name + "=" + Describe(pi.GetValue(o, New Object() {})) + " "
        Next
        Dim afi() As FieldInfo = o.GetType().GetFields()
        For Each fi As FieldInfo In afi
            s += fi.Name + "=" + Describe(fi.GetValue(o)) + " "
        Next
    End If

See Also TabClass Class | Classes | SftTabs/NET 3.0