IconCriterion.Icon Property
Gets or sets the icon for a criterion in an icon set conditional formatting rule.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property Icon As XlIcon
Get
Set
'Usage
Dim instance As IconCriterion
Dim value As XlIcon
value = instance.Icon
instance.Icon = value
XlIcon Icon { get; set; }
Property Value
Type: Microsoft.Office.Interop.Excel.XlIcon
Remarks
After you set the Icon property for the icon criterion in an icon set conditional formatting rule, the IconSet property is changed to xlCustomSet.