ComponentOne Excel for UWP
C1.UWP.Excel Assembly / C1.Xaml.Excel Namespace / XLStyle Class / ForeColor Property

In This Topic
    ForeColor Property (XLStyle)
    In This Topic
    Gets or sets the foreground color for this XLStyle.
    Syntax
    'Declaration
     
    Public Property ForeColor As Windows.UI.Color
    public Windows.UI.Color ForeColor {get; set;}
    Remarks

    Set the ForeColor property to Color.Transparent to suppress this style element and use the default foreground color instead (black).

    All colors on the C1XLBook are mapped to a palette. This means that if you assign colors to styles, save the book, and then load it back, you probably won't get exactly the same colors used when the book was created. You will get a fairly close approximation though.

    See Also