[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IIconSetCondition.ShowIconOnly

ShowIconOnly Property

ShowIconOnly

Gets or sets a Boolean value indicating if only the icon is displayed for an icon set conditional format.

This property is true when cells that use this icon set rule display only the icon. This property is false when the icon is displayed together with the cell value.

Declaration
bool ShowIconOnly { get; set; }
Property ShowIconOnly As Boolean
Examples
worksheet.Range["A1:A3"].Value = new object[,] {
    {10},
    {50},
    {90}
};
IIconSetCondition condition = worksheet.Range["A1:A3"].FormatConditions.AddIconSetCondition();
condition.IconSet = workbook.IconSets[IconSetType.Icon3Symbols];
condition.ShowIconOnly = true;
bool showIconOnly = condition.ShowIconOnly;