Class IconConditionValue
Represents the implementation of Icon condition value
Inherited Members
Namespace: Syncfusion.XlsIO
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class IconConditionValue : ConditionValue, IIconConditionValue, IConditionValue
Constructors
IconConditionValue(ExcelIconSetType, Int32)
Declaration
public IconConditionValue(ExcelIconSetType icon, int index)
Parameters
Type | Name | Description |
---|---|---|
ExcelIconSetType | icon | |
System.Int32 | index |
IconConditionValue(ExcelIconSetType, Int32, ConditionValueType, String)
Initializes new instance of the class.
Declaration
public IconConditionValue(ExcelIconSetType icon, int index, ConditionValueType type, string value)
Parameters
Type | Name | Description |
---|---|---|
ExcelIconSetType | icon | IconSet valus from ExcelIconSetType |
System.Int32 | index | Index of the Icon Sets |
ConditionValueType | type | Type of the condition. |
System.String | value | Value of the object. |
Properties
IconSet
Returns or sets IconSet for individual IconSet criteria. It allows the custom Iconset and works based in the index.
Declaration
public ExcelIconSetType IconSet { get; set; }
Property Value
Type |
---|
ExcelIconSetType |
Remarks
Custom IconSet Conditional Formatting allows you to format your data based the IconSet criteria value from ExcelIconSetType. For example the icon set is initially set to use the FiveBoxes icon set, but this IconSet property is used to override which icons are used for the first or seconde and third criteria. You can set individual icon based on the index of the IconSet Type.
Index
Gets or sets index of the iconset type's individual icon index.
Declaration
public int Index { get; set; }
Property Value
Type |
---|
System.Int32 |
Remarks
Custom IconSet Conditional Formatting allows you to format your IconSet data based the IconSet index criteria. For example if the index is initially set as 0. In ThreeArrows, there are three icons, but the Index property represents first Icon based on the index value.