System.Windows.Forms.ToolTip.OwnerDraw Property

Gets or sets a value indicating whether the ToolTip is drawn by the operating system or by code that you provide.

Syntax

[System.ComponentModel.DefaultValue(false)]
public bool OwnerDraw { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Usually, a System.Windows.Forms.ToolTip is drawn by the operating system, but to customize the appearance of the System.Windows.Forms.ToolTip you can set the ToolTip.OwnerDraw property to true and handle the ToolTip.Draw event.

The ToolTip.IsBalloon property takes precedence over the ToolTip.OwnerDraw property. If both are set to true, the System.Windows.Forms.ToolTip will be displayed using a balloon window rather than an owner drawn window.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0