Spread for ASP.NET 10 Product Documentation
DefaultStyleName Property (ColumnFooter)
Example 


Gets or sets the name of the default style for the column footer.
Syntax
'Declaration
 
Public Property DefaultStyleName As String
'Usage
 
Dim instance As ColumnFooter
Dim value As String
 
instance.DefaultStyleName = value
 
value = instance.DefaultStyleName
public string DefaultStyleName {get; set;}
Exceptions
ExceptionDescription
System.ArgumentExceptionSpecified style (NamedStyle object) could not be found in the collection
Example
This example sets the default style name for a column footer.
FarPoint.Web.Spread.NamedStyle mnstyle = new FarPoint.Web.Spread.NamedStyle();
mnstyle.Name = "fpstyle";
mnstyle.BackColor = Color.Yellow;
FpSpread1.NamedStyles.Add(mnstyle);
FpSpread1.ActiveSheetView.ColumnFooter.DefaultStyleName = mnstyle.Name;
FarPoint.Web.Spread.NamedStyle mnstyle = new FarPoint.Web.Spread.NamedStyle();
mnstyle.Name = "fpstyle";
mnstyle.BackColor = Color.Yellow;
FpSpread1.NamedStyles.Add(mnstyle);
FpSpread1.ActiveSheetView.ColumnFooter.DefaultStyleName = mnstyle.Name;
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

ColumnFooter Class
ColumnFooter Members

 

 


Copyright © GrapeCity, inc. All rights reserved.