Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Columns Class / Default Property
Example


In This Topic
    Default Property (Columns)
    In This Topic
    Gets a column 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 containing the default column
    Example
    This example sets the default column width, and then overrides that width for the first column.
    FpSpread1.ActiveSheetView.Columns.Default.Width=15;
    FpSpread1.ActiveSheetView.Columns[0].Width=25;
    FpSpread1.ActiveSheetView.Columns.Default.Width=15
    FpSpread1.ActiveSheetView.Columns(0).Width=25
    See Also