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 objectThe 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 |
---|---|
listBox1.Items.Add(fpSpread1.ActiveSheet.Columns.Default.ToString()); |
Visual Basic | Copy Code |
---|---|
ListBox1.Items.Add(FpSpread1.ActiveSheet.Columns.Default.ToString()) |
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