ToolTipManager Class |
Namespace: DigitalRune.Game.UI
The ToolTipManager type exposes the following members.
Name | Description | |
---|---|---|
CloseToolTip |
Hides the tool tip or does nothing if no tool tip is visible.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ShowToolTip |
Shows a tool tip.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
CreateToolTipContent | ||
IsToolTipOpen |
Gets a value indicating whether a tool tip is currently shown.
| |
Screen |
Gets or sets the screen.
| |
ToolTipControl |
Gets the ContentControl that shows the tool tip.
| |
ToolTipDelay |
Gets the time which the mouse has to stand still before a tool tip pops up.
| |
ToolTipOffset |
Gets the offset of the tool tip to the mouse position.
|
Each UIScreen has a ToolTipManager. (Currently it is not possible to use a custom ToolTipManager.)
Tool tips can be defined per control using the property ToolTip. The tool tip can be a UIControl, a String, or an Object:
The user can override this behavior by setting the CreateToolTipContent callback. The callback receives the value stored in ToolTip and returns the UIControl that will be shown in the ToolTipControl.
Control Styles: Per default, the ToolTipControl uses the style "ToolTip" and the TextBlock that wraps the tool tip content uses the style "ToolTipText". (See Style for more information about styles.)