ToolTipController.SetAllowHtmlText(Control, DefaultBoolean) Method
Sets whether HTML formatting is enabled in tooltips for the specified control.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
control | Control | A control for which the tooltip information is to be changed. |
value | DefaultBoolean | A DefaultBoolean value that specifies whether HTML formatting is enabled in tooltips for the specified control. |
Remarks
Tooltips’ text can be formatted using HTML tags. The SetAllowHtmlText method allows HTML formatting to be enabled for a control’s tooltips. To learn more about HTML formatting, see HTML Text Formatting.
If the value parameter is set to Default, the HTML formatting feature will be enabled if the ToolTipController.AllowHtmlText property is set to true.
Note
The following methods are only in effect for controls which do not implement the DevExpress.Utils.IToolTipControlClient interface: ToolTipController.SetSuperTip, ToolTipController.GetSuperTip, ToolTipController.SetToolTip, ToolTipController.GetToolTip, ToolTipController.SetTitle, ToolTipController.GetTitle, ToolTipController.SetToolTipIconType,ToolTipController.GetToolTipIconType,ToolTipController.SetToolTipAnchor,ToolTipController.GetToolTipAnchor,ToolTipController.SetAllowHtmlText
andToolTipController.GetAllowHtmlText
methods.
See the ToolTipController topic for more information.