[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IStyle.IncludeNumber

IncludeNumber Property

IncludeNumber

Gets or sets whether the style includes the IStyle.NumberFormat property.

Use this property to control or inspect whether the number format stored in the style is included when the style is applied.

Declaration
bool IncludeNumber { get; set; }
Property IncludeNumber As Boolean
Examples
IStyle style = workbook.Styles.Add("numberStyle");
style.NumberFormat = "$#,##0.00";
style.IncludeNumber = true;
worksheet.Range["A1"].Style = style;
bool includeNumber = style.IncludeNumber;