C# Класс OfficeOpenXml.ConditionalFormatting.ExcelConditionalFormattingHelper

Conditional formatting helper
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CheckAndFixRangeAddress ( string address ) : string

Check and fix an address (string address)

ConvertFromColorCode ( string colorCode ) : Color

Convert a color code to Color Object

DecodeXML ( this s ) : string

Decode from XML (special characteres: ' " > < &)

EncodeXML ( this s ) : string

Encode to XML (special characteres: ' " > < &)

GetAttributeBool ( XmlNode node, string attribute ) : bool

GetAttributeBoolNullable ( XmlNode node, string attribute ) : bool?

GetAttributeDecimal ( XmlNode node, string attribute ) : decimal

GetAttributeDouble ( XmlNode node, string attribute ) : double

GetAttributeInt ( XmlNode node, string attribute ) : int

GetAttributeIntNullable ( XmlNode node, string attribute ) : int?

GetAttributeString ( XmlNode node, string attribute ) : string

Описание методов

CheckAndFixRangeAddress() публичный статический Метод

Check and fix an address (string address)
public static CheckAndFixRangeAddress ( string address ) : string
address string
Результат string

ConvertFromColorCode() публичный статический Метод

Convert a color code to Color Object
public static ConvertFromColorCode ( string colorCode ) : Color
colorCode string Color Code (Ex. "#FFB43C53" or "FFB43C53")
Результат Color

DecodeXML() публичный статический Метод

Decode from XML (special characteres: ' " > < &)
public static DecodeXML ( this s ) : string
s this
Результат string

EncodeXML() публичный статический Метод

Encode to XML (special characteres: ' " > < &)
public static EncodeXML ( this s ) : string
s this
Результат string

GetAttributeBool() публичный статический Метод

public static GetAttributeBool ( XmlNode node, string attribute ) : bool
node System.Xml.XmlNode
attribute string
Результат bool

GetAttributeBoolNullable() публичный статический Метод

public static GetAttributeBoolNullable ( XmlNode node, string attribute ) : bool?
node System.Xml.XmlNode
attribute string
Результат bool?

GetAttributeDecimal() публичный статический Метод

public static GetAttributeDecimal ( XmlNode node, string attribute ) : decimal
node System.Xml.XmlNode
attribute string
Результат decimal

GetAttributeDouble() публичный статический Метод

public static GetAttributeDouble ( XmlNode node, string attribute ) : double
node System.Xml.XmlNode
attribute string
Результат double

GetAttributeInt() публичный статический Метод

public static GetAttributeInt ( XmlNode node, string attribute ) : int
node System.Xml.XmlNode
attribute string
Результат int

GetAttributeIntNullable() публичный статический Метод

public static GetAttributeIntNullable ( XmlNode node, string attribute ) : int?
node System.Xml.XmlNode
attribute string
Результат int?

GetAttributeString() публичный статический Метод

public static GetAttributeString ( XmlNode node, string attribute ) : string
node System.Xml.XmlNode
attribute string
Результат string