TextToolTipService.SetToolTipOffsets Method
Sets the ToolTipOffsets attribute to the specified values for the given element.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Sub SetToolTipOffsets ( _
element As FrameworkElement, _
horizontal As Integer, _
vertical As Integer _
)
public static void SetToolTipOffsets(
FrameworkElement element,
int horizontal,
int vertical
)
public:
static void SetToolTipOffsets(
FrameworkElement^ element,
int horizontal,
int vertical
)
static member SetToolTipOffsets :
element:FrameworkElement *
horizontal:int *
vertical:int -> unit
public static function SetToolTipOffsets(
element : FrameworkElement,
horizontal : int,
vertical : int
)
Parameters
element
Type: System.Windows.FrameworkElementThe element to set the ToolTipOffsets attribute for.
horizontal
Type: System.Int32The value to set the ToolTipOffsets horizontal to.
vertical
Type: System.Int32The value to set the ToolTipOffsets vertical to.
.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.