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

    Show / Hide Table of Contents

    ContainDateCondition Class

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

    Represents a condition that formats only cells with date that satisfies the specified criteria.

    • C#
    • VB.NET
    public sealed class ContainDateCondition : ContainCondition
    Public NotInheritable Class ContainDateCondition
        Inherits ContainCondition
    Inheritance:
    System.Object
    FormatCondition
    ContainCondition
    ContainDateCondition
    Remarks

    ContainDateCondition is not supported in XLS format.

    Properties

    Operator

    Gets or sets the operator of this ContainDateCondition.

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

    The operator of this ContainDateCondition.

    Methods

    ToString()

    Returns a System.String that represents this ContainDateCondition instance.

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

    A System.String that represents this ContainDateCondition instance.

    Overrides
    ContainCondition.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

    ConditionType

    Gets the Contain value.

    (Inherited from ContainCondition)

    ContainConditionType

    Gets the ContainCondition type.

    (Inherited from ContainCondition)

    Rule

    Gets the conditional formatting rule associated with this condition.

    (Inherited from FormatCondition)

    Style

    Gets the actual formatting which will be applied to a cell if its value satisfies this ContainCondition.

    (Inherited from ContainCondition)

    Examples

    Excel Conditional Formatting example
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.