Spread WPF Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / Worksheet Class / CustomNames Property
Example


In This Topic
    CustomNames Property (Worksheet)
    In This Topic
    Gets all custom names.
    Syntax
    'Declaration
     
    Public ReadOnly Property CustomNames As String()
    'Usage
     
    Dim instance As Worksheet
    Dim value() As String
     
    value = instance.CustomNames
    public string[] CustomNames {get;}
    Example
    This example uses the CustomNames property.
    listBox1.Items.Add(GcSpreadSheet1.Sheets[0].ConditionalFormats.RuleCount.ToString());
    listBox1.Items.Add(GcSpreadSheet1.Sheets[0].CustomFunctions.IsReadOnly.ToString());
    listBox1.Items.Add(GcSpreadSheet1.Sheets[0].CustomNames.IsReadOnly.ToString());
    ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).ConditionalFormats.RuleCount.ToString())
    ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).CustomFunctions.IsReadOnly.ToString())
    ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).CustomNames.IsReadOnly.ToString())
    See Also