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
Initializes a new DifferentialFormatting that can overlay formatting properties on cells when conditional formatting rules apply.
public DifferentialFormatting()
Methods
Compares this differential formatting with another object and returns true if all formatting properties match.
Properties
Gets or sets the bottom border style and color to apply when the conditional formatting rule is satisfied.
public CellBorder BottomBorder { get; set; }
Gets or sets the number format to apply when the conditional formatting rule is satisfied.
public CellValueFormat CellValueFormat { get; set; }
Gets or sets the diagonal down border (top-left to bottom-right) style and color to apply when the conditional formatting rule is satisfied.
public CellBorder DiagonalDownBorder { get; set; }
Gets or sets the diagonal up border (bottom-left to top-right) style and color to apply when the conditional formatting rule is satisfied.
public CellBorder DiagonalUpBorder { get; set; }
Gets or sets the background fill (pattern or gradient) to apply when the conditional formatting rule is satisfied.
public IFill Fill { get; set; }
Gets or sets the font family to apply when the conditional formatting rule is satisfied.
public ThemableFontFamily FontFamily { get; set; }
Gets or sets the font size to apply when the conditional formatting rule is satisfied.
public double FontSize { get; set; }
Gets or sets the text color to apply when the conditional formatting rule is satisfied.
public ThemableColor ForeColor { get; set; }
Gets or sets whether to apply bold text formatting when the conditional formatting rule is satisfied.
public bool IsBold { get; set; }
Gets or sets whether to apply italic text formatting when the conditional formatting rule is satisfied.
public bool IsItalic { get; set; }
Gets or sets whether to apply strikethrough text decoration when the conditional formatting rule is satisfied.
public bool IsStrikethrough { get; set; }
Gets or sets the left border style and color to apply when the conditional formatting rule is satisfied.
public CellBorder LeftBorder { get; set; }
Gets or sets the right border style and color to apply when the conditional formatting rule is satisfied.
public CellBorder RightBorder { get; set; }
Gets or sets the top border style and color to apply when the conditional formatting rule is satisfied.
public CellBorder TopBorder { get; set; }
Gets or sets the underline style to apply when the conditional formatting rule is satisfied.
public UnderlineType Underline { get; set; }
Gets or sets the vertical text alignment (none, superscript, or subscript) to apply when the conditional formatting rule is satisfied.
public VerticalTextAlignment VerticalTextAlignment { get; set; }