C# Class Smrf.NodeXL.ExcelTemplate.GraphMetricValueOrdered

Stores one graph metric value for one worksheet row, where the value is mapped to the next empty row.
The array of GraphMetricValueOrdered objects within should be written to the worksheet in sequential row order -- the first value in the first row, the second value in the second row, and so on.
Inheritance: GraphMetricValue
Exibir arquivo Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_sStyle String

Public Methods

Method Description
AssertValid ( ) : void
GraphMetricValueOrdered ( ) : System

Initializes a new instance of the class with default values.

GraphMetricValueOrdered ( Object value ) : System

Initializes a new instance of the class with a specified value.

GraphMetricValueOrdered ( Object value, String style ) : System

Initializes a new instance of the class with a specified value and style.

If a style is ever applied to a row, a style should always be applied to the row. If the CellStyleNames.Bad style is applied when the row is bad, for example, using a default null style when the row is good would always leave the bad style in place. Instead, the CellStyleNames.GraphMetricGood style should be applied when the row is good.

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

GraphMetricValueOrdered() public method

Initializes a new instance of the class with default values.
public GraphMetricValueOrdered ( ) : System
return System

GraphMetricValueOrdered() public method

Initializes a new instance of the class with a specified value.
public GraphMetricValueOrdered ( Object value ) : System
value Object /// Graph metric value for the row. ///
return System

GraphMetricValueOrdered() public method

Initializes a new instance of the class with a specified value and style.
If a style is ever applied to a row, a style should always be applied to the row. If the CellStyleNames.Bad style is applied when the row is bad, for example, using a default null style when the row is good would always leave the bad style in place. Instead, the CellStyleNames.GraphMetricGood style should be applied when the row is good.
public GraphMetricValueOrdered ( Object value, String style ) : System
value Object /// Graph metric value for the row. ///
style String /// Style of the row, or null to not apply a style. Sample: "Bad". The /// style overrides any style applied to the column. ///
return System

Property Details

m_sStyle protected_oe property

protected String m_sStyle
return String