ToolTip.ToolTipIcon 屬性

定義

取得或設定值,以便定義要顯示在工具提示文字旁的圖示類型。Gets or sets a value that defines the type of icon to be displayed alongside the ToolTip text.

public:
 property System::Windows::Forms::ToolTipIcon ToolTipIcon { System::Windows::Forms::ToolTipIcon get(); void set(System::Windows::Forms::ToolTipIcon value); };
public System.Windows.Forms.ToolTipIcon ToolTipIcon { get; set; }
member this.ToolTipIcon : System.Windows.Forms.ToolTipIcon with get, set
Public Property ToolTipIcon As ToolTipIcon

屬性值

ToolTipIcon

一個 ToolTipIcon 列舉值。One of the ToolTipIcon enumerated values.

備註

如果您想要使用不是由列舉所定義的圖形 System.Windows.Forms.ToolTipIcon ,您必須擁有者繪製整個工具提示。If you want to use a graphic that is not defined by the System.Windows.Forms.ToolTipIcon enumeration, you must owner-draw the entire ToolTip. 如需詳細資訊,請參閱 OwnerDraw 屬性 (Property)。For more information, see the OwnerDraw property.

適用於

另請參閱