[]
        
(Showing Draft Content)

FarPoint.Web.Spread.DatabarConditionalFormattingRule

DatabarConditionalFormattingRule Class

Represents the data bar conditional formatting rule.

Inheritance
DatabarConditionalFormattingRule
Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
public class DatabarConditionalFormattingRule : PrePaintTextConditionalFormattingRule, ICanSerializeXml, ISerializeSupport, ISerializable, IPrePaintTextConditionalFormattingRule, IPdfPrintableRule, IExcelExporter, IConditionalFormattingDataRule, IExpressionConsumer, IFilterSupportConditionalFormattingRule, IConditionalFormattingRule, INotifyPropertyChanged, ICloneable
Public Class DatabarConditionalFormattingRule
    Inherits PrePaintTextConditionalFormattingRule
    Implements ICanSerializeXml, ISerializeSupport, ISerializable, IPrePaintTextConditionalFormattingRule, IPdfPrintableRule, IExcelExporter, IConditionalFormattingDataRule, IExpressionConsumer, IFilterSupportConditionalFormattingRule, IConditionalFormattingRule, INotifyPropertyChanged, ICloneable

Constructors

Name Description
DatabarConditionalFormattingRule()

Initializes a new instance of the DatabarConditionalFormattingRule class.

DatabarConditionalFormattingRule(SerializationInfo, StreamingContext)

Initializes a new instance of the DatabarConditionalFormattingRule class from serialization.

Properties

Name Description
AxisColor

Gets or sets the color of the axis.

AxisPosition

Gets or sets the axis position.

BorderColor

Gets or sets the color of the border.

Direction

Gets or sets the direction.

FillColor

Gets or sets the color of the fill.

Gradient

Gets or sets whether this DatabarConditionalFormattingRule is a gradient.

Maximum

Gets or sets the maximum value. Note: The maximum value only accepts the ConditionalFormattingValue object which has a Type property of Max, AutoMax, Number, Percent, Formula, or Pecentile.

Minimum

Gets or sets the minimum value. Note: The minimum value only accepts the ConditionalFormattingValue object which has a Type property such as Min, AutoMin, Number, Percent, Formula, or Pecentile.

NegativeBorderColor

Gets or sets the color of the negative border.

NegativeFillColor

Gets or sets the color of the negative fill.

ShowBorder

Gets or sets whether the border should be painted.

UseNegativeBorderColor

Gets or sets whether the negative border color is used to paint the border for the negative value.

UseNegativeFillColor

Gets or sets whether the negative fill color is used to paint the negative value.

Methods

Name Description
DeserializeEntry(SerializationEntry)
GetObjectData(SerializationInfo, StreamingContext)

Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.

PaintCell(string, Control, Appearance, Inset, object, bool, bool)

Paints the cell.