Skip to main content

ToolTipController.DefaultController Property

Gets the default ToolTipController used for displaying tooltips.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

public static ToolTipController DefaultController { get; }

Property Value

Type Description
ToolTipController

A default ToolTipController object.

Remarks

Controls implementing the DevExpress.Utils.IToolTipControlClient interface provide the ToolTipController property of the ToolTipController class. When the control’s ToolTipController property is null (Nothing in Visual Basic), control’s tooltips are managed by the static default tooltip controller and this can be accessed via the DefaultController property.

If the control’s ToolTipController property is set to a ToolTipController object, the control’s tooltips are handled by this tooltip controller object instead of the default.

The default tooltip controller enables you to have similar looking hints for your controls. The default tooltip controller, however, can only be customized via code.

If you need some controls’ tooltips to look different or you want to customize the tooltip controller at design time, then you should create a ToolTipController component (by adding it onto the form, for instance), customize its settings and assign it to the ToolTipController properties of the appropriate controls.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DefaultController property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also