Spread Silverlight Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / Column Class / Label Property
Example


In This Topic
    Label Property (Column)
    In This Topic
    Gets or sets the header label for this column.
    Syntax
    'Declaration
     
    <DefaultValueAttribute("")>
    Public Property Label As String
    'Usage
     
    Dim instance As Column
    Dim value As String
     
    instance.Label = value
     
    value = instance.Label
    [DefaultValue("")]
    public string Label {get; set;}

    Property Value

    The header label for this column. The default value is an empty string, which means that no label is set.
    Example
    This example uses the Label property.
    GcSpreadSheet1.ActiveSheet.Columns[0].Label = "Column Label";
    //GcSpreadSheet1.ActiveSheet.Columns[0].ResetLabel();
    GcSpreadSheet1.ActiveSheet.Columns(0).Label = "Column Label"
    'GcSpreadSheet1.ActiveSheet.Columns(0).ResetLabel()
    See Also