C# Class Microsoft.WindowsAPICodePack.Shell.StockIcon

Represents a standard system icon.
Inheritance: IDisposable
Exibir arquivo Open project: dlech/SshAgentLib Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Release the native objects

StockIcon ( StockIconIdentifier id ) : System

Creates a new StockIcon instance with the specified identifer, default size and no link overlay or selected states.

StockIcon ( StockIconIdentifier id, StockIconSize size, bool isLinkOverlay, bool isSelected ) : System

Creates a new StockIcon instance with the specified identifer and options.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Release the native and managed objects

Private Methods

Method Description
GetHIcon ( ) : IntPtr
UpdateHIcon ( ) : void

Method Details

Dispose() public method

Release the native objects
public Dispose ( ) : void
return void

Dispose() protected method

Release the native and managed objects
protected Dispose ( bool disposing ) : void
disposing bool Indicates that this is being called from Dispose(), rather than the finalizer.
return void

StockIcon() public method

Creates a new StockIcon instance with the specified identifer, default size and no link overlay or selected states.
public StockIcon ( StockIconIdentifier id ) : System
id StockIconIdentifier A value that identifies the icon represented by this instance.
return System

StockIcon() public method

Creates a new StockIcon instance with the specified identifer and options.
public StockIcon ( StockIconIdentifier id, StockIconSize size, bool isLinkOverlay, bool isSelected ) : System
id StockIconIdentifier A value that identifies the icon represented by this instance.
size StockIconSize A value that indicates the size of the stock icon.
isLinkOverlay bool A bool value that indicates whether the icon has a link overlay.
isSelected bool A bool value that indicates whether the icon is in a selected state.
return System