Share via


SwitcherRenderer.DrawHotOrSelected Method

Indicates the graphical bounds of a rectangle.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Protected Overridable Sub DrawHotOrSelected ( _
    graphics As Graphics, _
    client As Rectangle, _
    selected As Boolean _
)
'Usage
Dim graphics As Graphics
Dim client As Rectangle
Dim selected As Boolean

Me.DrawHotOrSelected(graphics, client, _
    selected)
protected virtual void DrawHotOrSelected(
    Graphics graphics,
    Rectangle client,
    bool selected
)
protected:
virtual void DrawHotOrSelected(
    Graphics^ graphics, 
    Rectangle client, 
    bool selected
)
abstract DrawHotOrSelected : 
        graphics:Graphics * 
        client:Rectangle * 
        selected:bool -> unit 
override DrawHotOrSelected : 
        graphics:Graphics * 
        client:Rectangle * 
        selected:bool -> unit 
protected function DrawHotOrSelected(
    graphics : Graphics, 
    client : Rectangle, 
    selected : boolean
)

Parameters

  • selected
    Type: System.Boolean
    true to use the selected object; otherwise, false.