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

Glossary Item Box

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


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
public Columns.DefaultColumn Default {get;}

Property Value

Columns.DefaultColumn object


The defaults for style properties (such as BackColor, Font, etc.) for the columns are actually getting and setting the corresponding property in the DefaultColumn.Parent.ParentDefaultStyle object. For example, the SheetView.Columns.Default.BackColor actually gets and sets SheetView.DefaultSytle.BackColor, which is equivalent to SheetView.Columns.Default.Parent.Parent.DefaultStyle.BackColor.


This example illustrates the use of this member by returning a Column object for the default column.
C#Copy Code
Visual BasicCopy Code


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.