New to Telerik Document ProcessingStart a free 30-day trial

Identifies a specific icon within a preset icon set by combining the set type and the icon's index position, used in icon set conditional formatting.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model.ConditionalFormattings

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class IconDefinition

Inheritance: objectIconDefinition

Constructors

Initializes a new IconDefinition that references a specific icon by its preset set and index position.

C#
public IconDefinition(PresetIconSet iconSet, int index)
Parameters:iconSetPresetIconSetindexint

Methods

Compares this icon definition with another object and returns true if both the icon set and index match.

C#
public override bool Equals(object obj)
Parameters:objobjectReturns:

bool

Overrides: object.Equals(object)

Computes a hash code combining the icon set and index for use in collections.

C#
public override int GetHashCode()
Returns:

int

Overrides: object.GetHashCode()

Properties

Gets or sets the preset icon set that contains this icon.

C#
public PresetIconSet IconSet { get; set; }

Gets or sets the zero-based position of the icon within its preset set.

C#
public int Index { get; set; }