Support & Community

Tooltips

Previous Table of Contents Next

Flexible TreeView allows you to show tooltips for nodes, node controls, and columns` header. Tooltip settings may be changed in the Tooltip treeview property.

Core tooltip parameters:

  • Enabled – defines whether to show tooltips;
  • Position – defines how to position a tooltip along with the object for which it is shown;
    Available values:
    • Standard – show tooltip near the mouse cursor;
    • UnderObject – show tooltip under the object;
  • SourceOrder – defines an order of retrieving a tooltip text when many objects are under the mouse cursor at the same time. Treeview contains a group of object containers inside (for instance, a node contains a group of node controls) and this option defines the order of those containers when retrieving tooltip text.
    Available values:
    • Node – get tooltip text from a node under the mouse cursor while ignoring all node controls that are also under the cursor. The node class`s member name where the tooltip text is stored should be in the NodeFieldName property;
    • NodeControlThenNode – first, get a tooltip for a node control under the mouse cursor, and then, if not found, for a node;
  • NodeFieldName – contains the node class`s member name, where the tooltip for the node is stored. Used when the SourceOrder has the Node value.


Custom tooltip provider

Flexible TreeView allows you to use a third-party tooltips engine to seamlessly integrate the treeview into your application. To do that, you need to implement the ITooltipProvider interface and apply your tooltip provider to the TooltipProvider treeview property.


Built–in tooltip providers for third party libraries

Flexible TreeView already contains an implementation for DevComponents SuperTooltip and SkyBounds VisualTips tooltip engines so you can use them by inserting one line of code.


Please note that this implementation is supplied as source code, which you can find in the Customization\Tooltip folder of the Flexible TreeView installation.


To use these providers, just include the appropriate source file and add one line of code. For instance, to use the SkyBounds VisualTips, add the Customization\Tooltip\SkyboundVisualTips.cs file to your project and use this code:
// attach a custom tooltip provider.
tree.TooltipProvider = new ARMSoft.FlexibleTreeView.Customization.SkyboundVisualTips();
 
// enable tooltips.
tree.Tooltips.Enabled = true;

Previous Top Next

Last news
Flexible TreeView v2.7
Sunday, 01 August 2010

Flexible TreeView v2.7 has been released with completely reimplemented data binding support.

Flexible TreeView v2.6
Thursday, 13 May 2010
Flexible TreeView v2.6 has been released with Visual Studio 2010 support, new NodeDateTime node control, data access great speed increase and much more.
Flexible TreeView v2.5
Saturday, 13 March 2010

Flexible TreeView v2.5 has been released with the new NodeProgressBar node control.

Latest release

Version:
Release date:
2.7.1
Aug 11, 2010


Copyright © 2006-2010 ARMSoft. All rights reserved.