Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SuperToolTip.OwnerAllowHtmlText Property

Gets whether the tooltip controller allows you to use the HTML tags to format the text in this tooltip.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

[Browsable(false)]
[DefaultValue(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public virtual bool OwnerAllowHtmlText { get; protected set; }

#Property Value

Type Default Description
Boolean false

true if the tooltip controller allows you to use the HTML tags to format the text in this tooltip; otherwise, false.

#Remarks

Use the following properties to enable HTML tags in tooltips:

#Example

This example demonstrates how to enable HTML tags for the SimpleButton and TextEdit controls.

toolTipController1.AllowHtmlText = true;
simpleButton1.ToolTipController = toolTipController1;
textEdit1.ToolTipController = toolTipController1;
simpleButton1.ToolTip = "I\'ve agree to the <href=www.devexpress.com>terms and conditions</href>.<br/>I want to <b>subscribe</b> to the newsletter.";
textEdit1.ToolTip = "Enter your <b>valid</b> e-mail address.";
//...

private void toolTipController1_HyperlinkClick(object sender, HyperlinkClickEventArgs e) {
    // Handle a click on a hyperlink displayed in a tooltip.
}

Allow HTML Tags - WinForms ToolTipController

See Also