ShapeElement.ShowCustomToolTip Method
Makes a shape's custom tooltip visible.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
Protected Friend Overridable Sub ShowCustomToolTip ( _
text As String, _
window As IWin32Window, _
point As Point _
)
protected internal virtual void ShowCustomToolTip(
string text,
IWin32Window window,
Point point
)
protected public:
virtual void ShowCustomToolTip(
String^ text,
IWin32Window^ window,
Point point
)
abstract ShowCustomToolTip :
text:string *
window:IWin32Window *
point:Point -> unit
override ShowCustomToolTip :
text:string *
window:IWin32Window *
point:Point -> unit
function ShowCustomToolTip(
text : String,
window : IWin32Window,
point : Point
)
Parameters
- text
Type: System.String
The text for the tooltip.
- window
Type: System.Windows.Forms.IWin32Window
The window for the tooltip.
- point
Type: System.Drawing.Point
The x- and y-coordinates where the tooltip should appear.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.