Excel for WPF | ComponentOne
C1.Silverlight.Excel Namespace / C1XLBook Class / DefaultFont Property

In This Topic
    DefaultFont Property (C1XLBook)
    In This Topic
    Gets or sets the default font object for the C1XLBook.
    Syntax
    'Declaration
     
    
    Public Property DefaultFont As XLFont
    public XLFont DefaultFont {get; set;}
    Remarks

    You can assign any font to any cell using XLStyle objects. Cells that have no associated custom styles or have styles that do not define a custom font are displayed using the book's default font.

    The DefaultFont property is initially set to 10 pt Arial.

    See Also