Spread ASP.NET 6.0 Product Documentation
Default Property
See Also  Example Send Feedback
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.