Spread Windows Forms 7.0 Product Documentation
Label Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Column Class : Label Property


Glossary Item Box

Gets or sets the header label for this column.

Syntax

Visual Basic (Declaration) 
Public Property Label As String
Visual Basic (Usage)Copy Code
Dim instance As Column
Dim value As String
 
instance.Label = value
 
value = instance.Label
C# 
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.
C#Copy Code
FarPoint.Win.Spread.Column col;
col = fpSpread1.ActiveSheet.Columns[0];
col.Label = "Column 1";
Visual BasicCopy Code
Dim col As FarPoint.Win.Spread.Column
col = FpSpread1.ActiveSheet.Columns(0)
col.Label = "Column 1"

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.