共用方式為


ToolWindowPane.BitmapIndex Property

Definition

Get or Set the index of the image to use in the bitmap strip for the window frame icon. BitmapImageMoniker should be used instead, as using BitmapIndex and BitmapResourceId results in an icon that is not DPI-aware.

public:
 property int BitmapIndex { int get(); void set(int value); };
public:
 property int BitmapIndex { int get(); void set(int value); };
public int BitmapIndex { get; set; }
member this.BitmapIndex : int with get, set
Public Property BitmapIndex As Integer

Property Value

The index of the image to use for the window frame icon.

Applies to