[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IRange.Style

Style Property

Style

Gets or sets the named style IStyle associated with the cells represented by this IRange.

Declaration
IStyle Style { get; set; }
Property Style As IStyle
Property Value
Type Description
IStyle

The style.

Examples
IStyle style = workbook.Styles.Add("InputStyle");
style.Font.Bold = true;
IRange range = worksheet.Range["A1"];
range.Style = style;
IStyle appliedStyle = range.Style;