Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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