ToolTip.ToolTipIcon Property

Definition

获取或设置一个值,该值定义要在工具提示文本旁显示的图标的类型。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

Property Value

ToolTipIcon

ToolTipIcon 枚举值之一。One of the ToolTipIcon enumerated values.

Remarks

如果要使用未由 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 属性。For more information, see the OwnerDraw property.

Applies to

See also