DXCore Services – ActionHint
November 22nd, 2010
The ActionHint service provides methods for manipulating of action hints and tweaking its settings for the current Visual Studio session.
Methods of this service:
Name |
Description |
DisableHint(HintBase) | Disables the specified hint. |
DisableHintFeatureGroup(HintBase) | Disables the feature group of the specified hint. |
GetFeatureGroup(HintBase) | Returns the FeatureGroup for the specified feature name. |
GetHintStats(FeatureGroup, HintBase) | Returns the HintStats for the specified action hint text within the specified FeatureGroup. |
HintIsEnabled(HintBase) | Returns true if it is OK to display the specified action hint. |
PointTo(SourcePoint, ActionHintBase) | Displays the action hint pointing to the specified SourcePoint in the active text view. |
PointTo(Point, ActionHintBase) | Displays the action hint pointing to the specified screen coordinates. |
PointTo(Control, ActionHintBase) | Displays the action hint pointing at the center of the specified control (increase the action hint’s Distance property to move the arrow back a bit). |
PointTo(SourcePoint, String, Color) | Displays the action hint pointing to the specified SourcePoint with specified text and color of the arrow. |
PointTo(Point, String, Color) | Displays the action hint pointing to the specified screen coordinates with the specified text and color of the arrow. |
PointTo(Int32, Int32, ActionHintBase) | Displays the action hint pointing to the specified line and column in the active text view. |
PointTo(Control, String, Color) | Displays the action hint pointing at the center of the specified Control with the specified text and color of the arrow. |
PointTo(Point, Int32, String, Color) | Displays the action hint pointing to the specified screen coordinates with the specified text and color of the arrow. |
PointTo(Int32, Int32, String, Color) | Displays the action hint pointing to the specified line and column in the active view with the specified text and color of the arrow. |
PointTo(Control, Int32, Sting, Color) | Displays the action hint pointing to the center of the specified Control with specified text, color and distance from the center of the arrow. |
PointToCaret(ActionHintBase) | Displays the action hint pointing to the editor text caret in the code editor. |
PointToCaret(String, Color) | Displays the action hint pointing to the editor text caret in the code editor with the specified text and color of the arrow. |
PointToCaret(String, Int32, Color) | Displays the action hint pointing to the editor text caret in the code editor with specified text, color and distance from the center of the arrow. |
PointToLineAndDisplayColumn(Int32, Int32, ActionHintBase) | Displays the action hint pointing to the specified line and display column in the active text view. |
Properties:
Name |
Description |
DisplayTime | Determines how long (in milliseconds) the action hint will appear before closing. |
Enabled | Gets or sets the enabled state of action hinting. |
FadeIn | Determines whether the action hint will fade in (from transparent to the final Opacity setting) when it first appears. If false, action hints will simply appear. |
FadeOut | Determines whether the action hint will fade out (from its Opacity setting to completely transparent) when it closes. If false, action hints will simply disappear. |
Font | The font for the text of the action hint. |
Opacity | Gets or sets the opacity of the action hint. |