Class
IconDefinition

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:

cs-api-definition
public class IconDefinition

Inheritance: objectIconDefinition

Constructors

IconDefinition(PresetIconSet, int)

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

Declaration

cs-api-definition
public IconDefinition(PresetIconSet iconSet, int index)

Parameters

iconSet

PresetIconSet

index

int

Properties

IconSet

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

Declaration

cs-api-definition
public PresetIconSet IconSet { get; set; }

Property Value

PresetIconSet

Index

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

Declaration

cs-api-definition
public int Index { get; set; }

Property Value

int

Methods

Equals(object)

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

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Returns

bool

Overrides object.Equals(object)

GetHashCode()

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

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

Overrides object.GetHashCode()