How to use BigHint DXCore component
December 6th, 2010
To make the big hint component work, execute the following steps:
- Drop the BigHint control on the PlugIn design surface
- Fill the Title property with a short message
- Fill the Text property with a message or some information
- Call one of the ShowAt() overloads inside your code.
Instead of using the BigHint control, you may use the BigHint service. This service gives you more control over big hints, allowing you to specify additional options for the hint appearance. Here is an example:
CSharp code:
MessageHintBase hint = CodeRush.BigHint.ShowAtCaret("BigHint Title", "BigHint text"); if (hint != null) hint.CloseByTimer(5000);
Visual Basic code:
Dim hint As MessageHintBase = CodeRush.BigHint.ShowAtCaret("BigHint Title", "BigHint text") If (hint IsNot Nothing) Then hint.CloseByTimer(5000) End If
It appears that using the BigHint service is much easier than using the BigHint component. Global big hints options can be set on the appropriate options page.
—– Products: DXCore Versions: 10.1 and up VS IDEs: any Updated: Dec/15/2010 ID: D043