Table of Contents

Interface IXLPredefinedStyles

Namespace
SlapKit.Excel.Excel
Assembly
SlapKit.Excel.dll
public interface IXLPredefinedStyles
Extension Methods

Properties

this[XLBuiltInStyleType]

Get built-in named style

IXLBuiltInPredefinedStyle this[XLBuiltInStyleType type] { get; }

Parameters

type XLBuiltInStyleType

Property Value

IXLBuiltInPredefinedStyle

this[string]

Get a custom-named style. It will create a new style if the specified name is not defined.

IXLCustomPredefinedStyle this[string name] { get; }

Parameters

name string

Property Value

IXLCustomPredefinedStyle

Methods

Contains(XLBuiltInStyleType)

Determines whether the workbook contains the specified built-in style.

bool Contains(XLBuiltInStyleType type)

Parameters

type XLBuiltInStyleType

Returns

bool

Contains(string)

Determines whether the workbook contains the specified custom style name.

bool Contains(string name)

Parameters

name string

Returns

bool