GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    ConditionalColor Class

    Namespace:
    GemBox.Spreadsheet.ConditionalFormatting
    Assembly:
    GemBox.Spreadsheet.dll

    Represents a conditional color used in ColorScaleCondition of a conditional formatting rule to specify color scale point.

    • C#
    • VB.NET
    public sealed class ConditionalColor : ConditionalObject
    Public NotInheritable Class ConditionalColor
        Inherits ConditionalObject
    Inheritance:
    System.Object
    ConditionalObject
    ConditionalColor

    Properties

    Color

    Gets or sets the color.

    • C#
    • VB.NET
    public SpreadsheetColor Color { get; set; }
    Public Property Color As SpreadsheetColor
    Property Value
    SpreadsheetColor

    The color.

    Methods

    ToString()

    Returns a System.String that represents this ConditionalColor instance.

    • C#
    • VB.NET
    public override string ToString()
    Public Overrides Function ToString As String
    Returns
    System.String

    A System.String that represents this ConditionalColor instance.

    Overrides
    ConditionalObject.ToString()
    Remarks

    This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).

    Inherited Properties

    Value

    Gets or sets the value.

    (Inherited from ConditionalObject)

    Examples

    Excel Conditional Formatting example
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.