Spread for ASP.NET 7.0 Product Documentation
Default Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Columns Class : Default Property


Glossary Item Box

Gets a column object for the default column (-1).

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Default As Columns.DefaultColumn
Visual Basic (Usage)Copy Code
Dim instance As Columns
Dim value As Columns.DefaultColumn
 
value = instance.Default
C# 
public Columns.DefaultColumn Default {get;}

Property Value

Columns.DefaultColumn object containing the default column

Example

This example sets the default column width, and then overrides that width for the first column.
C#Copy Code
FpSpread1.ActiveSheetView.Columns.Default.Width=15;
FpSpread1.ActiveSheetView.Columns[0].Width=25;
Visual BasicCopy Code
FpSpread1.ActiveSheetView.Columns.Default.Width=15
FpSpread1.ActiveSheetView.Columns(0).Width=25

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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