SwitcherRenderer.DrawContextButton Method
Draws a context button for the control.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Protected Overridable Sub DrawContextButton ( _
graphics As Graphics, _
hover As Boolean _
)
'Usage
Dim graphics As Graphics
Dim hover As Boolean
Me.DrawContextButton(graphics, hover)
protected virtual void DrawContextButton(
Graphics graphics,
bool hover
)
protected:
virtual void DrawContextButton(
Graphics^ graphics,
bool hover
)
abstract DrawContextButton :
graphics:Graphics *
hover:bool -> unit
override DrawContextButton :
graphics:Graphics *
hover:bool -> unit
protected function DrawContextButton(
graphics : Graphics,
hover : boolean
)
Parameters
- graphics
Type: System.Drawing.Graphics
A rectangle
- hover
Type: System.Boolean
true to hover; otherwise, false.