Newer
Older
ClosedXML / ClosedXML / Excel / Style / IXLFill.cs
@Francois Botha Francois Botha on 30 May 2017 937 bytes Unknown changes - something to do with line endings?
using System;

namespace ClosedXML.Excel
{
    public enum XLFillPatternValues
    {
        DarkDown,
        DarkGray,
        DarkGrid,
        DarkHorizontal,
        DarkTrellis,
        DarkUp,
        DarkVertical,
        Gray0625,
        Gray125,
        LightDown,
        LightGray,
        LightGrid,
        LightHorizontal,
        LightTrellis,
        LightUp,
        LightVertical,
        MediumGray,
        None,
        Solid
    }

    public interface IXLFill:IEquatable<IXLFill>
    {
        XLColor BackgroundColor { get; set; }
        XLColor PatternColor { get; set; }
        XLColor PatternBackgroundColor { get; set; }
        XLFillPatternValues PatternType { get; set; }

        IXLStyle SetBackgroundColor(XLColor value);
        IXLStyle SetPatternColor(XLColor value);
        IXLStyle SetPatternBackgroundColor(XLColor value);
        IXLStyle SetPatternType(XLFillPatternValues value);

    }
}