New to Telerik UI for WinFormsStart a free 30-day trial

A structure that represents a reference to an icon resource.

Definition

Namespace:Telerik.WinControls.Taskbar

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public struct IconReference

Constructors

Initializes a new instance of the IconReference class.

C#
public IconReference(string moduleName, int resourceId)
Parameters:moduleNamestring

The name of DLL, EXE(executable file) or icon file.

resourceIdint

The zero-based index of the icon.

Initializes a new instance of the IconReference class.

C#
public IconReference(string referencePath)
Parameters:referencePathstring

The reference to a specific icon within a DLL, EXE(executable file) or icon file. The reference path consists of concatenated ModuleName and ReferencePath, separated by a comma.

Properties

Gets or sets the name of DLL, EXE(executable file) or icon file.

C#
public string ModuleName { get; set; }

Gets or sets the reference to a specific icon within a DLL, EXE(executable file) or icon file. The reference path consists of concatenated ModuleName and ReferencePath, separated by a comma.

C#
public string ReferencePath { get; set; }

The zero-based index of the icon.

C#
public int ResourceId { readonly get; set; }