Spread Windows Forms 12.0 Product Documentation
Default Property (Columns)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Columns Class : Default Property
Gets a DefaultColumn object for the default column (-1).
Syntax
'Declaration
 
Public ReadOnly Property Default As Columns.DefaultColumn
'Usage
 
Dim instance As Columns
Dim value As Columns.DefaultColumn
 
value = instance.Default
public Columns.DefaultColumn Default {get;}

Property Value

Columns.DefaultColumn object
Remarks
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.
Example
This example illustrates the use of this member by returning a Column object for the default column.
listBox1.Items.Add(fpSpread1.ActiveSheet.Columns.Default.ToString());
ListBox1.Items.Add(fpSpread1.ActiveSheet.Columns.Default.ToString())
See Also

Reference

Columns Class
Columns Members