menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ConditionValue - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ConditionValue

    Represents implementation of single condition value for iconset, databar, colorscale conditions.

    Inheritance
    System.Object
    ConditionValue
    IconConditionValue
    ColorConditionValue
    Implements
    IConditionValue
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.XlsIO
    Assembly: Syncfusion.XlsIO.Base.dll
    Syntax
    public class ConditionValue : IConditionValue

    Constructors

    ConditionValue(ConditionValueType, String)

    Initializes new instance of the class.

    Declaration
    public ConditionValue(ConditionValueType type, string value)
    Parameters
    Type Name Description
    ConditionValueType type

    Condition type.

    System.String value

    Condition value.

    Properties

    Operator

    Gets or sets one of the constants of the ConditionalFormatOperator which specifes operator for the threshold values in the conditional format.

    Declaration
    public ConditionalFormatOperator Operator { get; set; }
    Property Value
    Type
    ConditionalFormatOperator

    Type

    Declaration
    public ConditionValueType Type { get; set; }
    Property Value
    Type
    ConditionValueType

    Value

    Gets or sets the shortest bar or longest bar threshold value for a data bar conditional format.

    Declaration
    public string Value { get; set; }
    Property Value
    Type
    System.String

    Methods

    Equals(Object)

    Determines whether the specified Object is equal to the current Object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj

    The Object to compare with the current Object.

    Returns
    Type Description
    System.Boolean

    true if the specified Object is equal to the current Object; otherwise, false.

    Overrides
    System.Object.Equals(System.Object)

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    A 32-bit signed integer hash code.

    Overrides
    System.Object.GetHashCode()

    Operators

    Equality(ConditionValue, ConditionValue)

    Equality comparison.

    Declaration
    public static bool operator ==(ConditionValue first, ConditionValue second)
    Parameters
    Type Name Description
    ConditionValue first

    The first condition to compare.

    ConditionValue second

    The second condition to compare.

    Returns
    Type Description
    System.Boolean

    true if conditions are equal.

    Inequality(ConditionValue, ConditionValue)

    Checks whether conditions are not equal.

    Declaration
    public static bool operator !=(ConditionValue first, ConditionValue second)
    Parameters
    Type Name Description
    ConditionValue first

    The first condition to compare.

    ConditionValue second

    The second condition to compare.

    Returns
    Type Description
    System.Boolean

    true if conditions are not equal.

    Implements

    IConditionValue
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved