Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread 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
     
    Public Property Label As String
    'Usage
     
    Dim instance As Column
    Dim value As String
     
    instance.Label = value
     
    value = instance.Label
    public string Label {get; set;}

    Property Value

    String containing label text
    Remarks

    Column objects returned by Columns.Default and Column objects in the column or row headers do not have a label.

    Example
    This example specifies the header text for the column.
    FarPoint.Win.Spread.Column col;
    col = fpSpread1.ActiveSheet.Columns[0];
    col.Label = "Column 1";
    Dim col As FarPoint.Win.Spread.Column
    col = fpSpread1.ActiveSheet.Columns(0)
    col.Label = "Column 1"
    See Also