[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IStyle.IncludePatterns

IncludePatterns Property

IncludePatterns

Gets or sets whether the style includes the IInterior.Color, IInterior.InvertIfNegative, IInterior.Pattern, IInterior.PatternColor, and IInterior.PatternColorIndex interior properties.

Use this property to control or inspect whether interior pattern settings are included when the style is applied.

Declaration
bool IncludePatterns { get; set; }
Property IncludePatterns As Boolean
Examples
IStyle style = workbook.Styles.Add("patternStyle");
style.Interior.Pattern = Pattern.Gray50;
style.Interior.PatternColor = Color.Blue;
style.IncludePatterns = true;
worksheet.Range["A1"].Style = style;
bool includePatterns = style.IncludePatterns;