ClassDifferentialFormatting
Defines formatting properties that overlay base cell formatting when conditional formatting rules are met, allowing selective property changes without replacing all formatting.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class DifferentialFormatting
Inheritance: objectDifferentialFormatting
Constructors
DifferentialFormatting()
Initializes a new DifferentialFormatting that can overlay formatting properties on cells when conditional formatting rules apply.
Declaration
public DifferentialFormatting()
Properties
BottomBorder
Gets or sets the bottom border style and color to apply when the conditional formatting rule is satisfied.
Declaration
public CellBorder BottomBorder { get; set; }
Property Value
CellValueFormat
Gets or sets the number format to apply when the conditional formatting rule is satisfied.
Declaration
public CellValueFormat CellValueFormat { get; set; }
Property Value
DiagonalDownBorder
Gets or sets the diagonal down border (top-left to bottom-right) style and color to apply when the conditional formatting rule is satisfied.
Declaration
public CellBorder DiagonalDownBorder { get; set; }
Property Value
DiagonalUpBorder
Gets or sets the diagonal up border (bottom-left to top-right) style and color to apply when the conditional formatting rule is satisfied.
Declaration
public CellBorder DiagonalUpBorder { get; set; }
Property Value
Fill
Gets or sets the background fill (pattern or gradient) to apply when the conditional formatting rule is satisfied.
FontFamily
Gets or sets the font family to apply when the conditional formatting rule is satisfied.
Declaration
public ThemableFontFamily FontFamily { get; set; }
Property Value
FontSize
Gets or sets the font size to apply when the conditional formatting rule is satisfied.
ForeColor
Gets or sets the text color to apply when the conditional formatting rule is satisfied.
Declaration
public ThemableColor ForeColor { get; set; }
Property Value
IsBold
Gets or sets whether to apply bold text formatting when the conditional formatting rule is satisfied.
IsItalic
Gets or sets whether to apply italic text formatting when the conditional formatting rule is satisfied.
LeftBorder
Gets or sets the left border style and color to apply when the conditional formatting rule is satisfied.
RightBorder
Gets or sets the right border style and color to apply when the conditional formatting rule is satisfied.
TopBorder
Gets or sets the top border style and color to apply when the conditional formatting rule is satisfied.
Underline
Gets or sets the underline style to apply when the conditional formatting rule is satisfied.
Declaration
public UnderlineType Underline { get; set; }
Property Value
Methods
Equals(object)
Compares this differential formatting with another object and returns true if all formatting properties match.
GetHashCode()
Computes a hash code based on all defined formatting properties for use in collections.