ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLStyle Class / Format Property

In This Topic
    Format Property
    In This Topic
    Gets or sets the format associated with this XLStyle.
    Syntax
    'Declaration
     
    Public Property Format As System.String
    public System.string Format {get; set;}
    Remarks

    Excel uses formats similar, but not identical to .NET. Refer to the Excel documentation for details on how to create format strings.

    You can use the FormatXLToDotNet(String) and FormatDotNetToXL(String,CultureInfo) methods to convert common Excel format strings to and from .NET format strings.

    See Also