Table of Contents

Class XlsxCellStyle

Namespace
Shift.Toolbox
Assembly
Shift.Toolbox.dll
public class XlsxCellStyle
Inheritance
XlsxCellStyle
Inherited Members
Extension Methods

Constructors

XlsxCellStyle()

public XlsxCellStyle()

Properties

Align

public HorizontalAlignment? Align { get; set; }

Property Value

HorizontalAlignment?

BackgroundColor

public Color? BackgroundColor { get; set; }

Property Value

Color?

Border

public XlsxBorder Border { get; }

Property Value

XlsxBorder

FontColor

public Color? FontColor { get; set; }

Property Value

Color?

IsBold

public bool? IsBold { get; set; }

Property Value

bool?

IsItalic

public bool? IsItalic { get; set; }

Property Value

bool?

IsUnderline

public bool? IsUnderline { get; set; }

Property Value

bool?

VAlign

public XlsxCellVAlign? VAlign { get; set; }

Property Value

XlsxCellVAlign?

WrapText

public bool? WrapText { get; set; }

Property Value

bool?

Methods

Copy()

public XlsxCellStyle Copy()

Returns

XlsxCellStyle

GetAlign(Type)

public static HorizontalAlignment GetAlign(Type type)

Parameters

type Type

Returns

HorizontalAlignment

GetExcelValue(HorizontalAlignment)

public static ExcelHorizontalAlignment GetExcelValue(HorizontalAlignment value)

Parameters

value HorizontalAlignment

Returns

ExcelHorizontalAlignment

GetExcelValue(XlsxCellVAlign)

public static ExcelVerticalAlignment GetExcelValue(XlsxCellVAlign value)

Parameters

value XlsxCellVAlign

Returns

ExcelVerticalAlignment

GetFormat(Type)

public static string GetFormat(Type type)

Parameters

type Type

Returns

string