Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / RowHeader Class / DefaultStyleName Property
Example


In This Topic
    DefaultStyleName Property (RowHeader)
    In This Topic
    Gets or sets the name of the default style for the row header.
    Syntax
    'Declaration
     
    
    Public Property DefaultStyleName As String
    'Usage
     
    
    Dim instance As RowHeader
    Dim value As String
     
    instance.DefaultStyleName = value
     
    value = instance.DefaultStyleName
    public string DefaultStyleName {get; set;}

    Property Value

    String containing the name of the style for this column header
    Exceptions
    ExceptionDescription
    Specified style (NamedStyle object) could not be found in the collection
    Example
    This example creates a row header and a style for the spreadsheet. The background color in the style is set to yellow, and is then applied to the row header so all the row headers then have a yellow background.
    See Also