ToolTip.ToolTipIcon ToolTip.ToolTipIcon ToolTip.ToolTipIcon ToolTip.ToolTipIcon Property

定义

获取或设置一个值,该值定义要在工具提示文本旁显示的图标的类型。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 枚举值之一。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 属性。For more information, see the OwnerDraw property.

适用于

另请参阅