SwitcherRenderer Class

Represents the role of the SwitcherRenderer in the class.

Inheritance Hierarchy

System.Object
  System.Windows.Forms.Layout.LayoutEngine
    Microsoft.SqlServer.Management.Controls.SwitcherRenderer

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

Syntax

'Declaration
Public Class SwitcherRenderer _
    Inherits LayoutEngine
'Usage
Dim instance As SwitcherRenderer
public class SwitcherRenderer : LayoutEngine
public ref class SwitcherRenderer : public LayoutEngine
type SwitcherRenderer =  
    class
        inherit LayoutEngine
    end
public class SwitcherRenderer extends LayoutEngine

The SwitcherRenderer type exposes the following members.

Constructors

  Name Description
Public method SwitcherRenderer Initializes a new instance of the SwitcherRenderer class.

Top

Properties

  Name Description
Public propertyStatic member BorderPen Gets the border pen for the control.
Public property ButtonsBounds Gets the size and location of the control including its non-client elements, in pixels, relative to the parent control.
Public property ClientBounds Gets the size and location of the control including its client elements, in pixels, relative to the parent control.
Protected property ContextHovered Gets or sets a value indicating whether the context for the control is hovered.
Public property GraphicsPath Gets a series of connected lines and curves.
Protected property HideButtons Gets a value indicating whether the control is hidden.
Protected property Hovered Gets the hovered value of the control.
Public property IsContextButtonVisible Gets a value indicating whether the control is visible in the user.
Public property MaxButtons Gets the maximum button of the control.
Public property MinimumSize Gets the minimum size of the control.
Public propertyStatic member SelectionBorderPenDark Gets a dark colored selection border of the control.
Public propertyStatic member SelectionBorderPenLight Gets a light colored selection border of the control.
Protected property Switcher Gets the value of a switcher of a control.
Public property WidgetWorkarea Gets the size of the widget work area of the control.
Public property Workarea Gets the size of the work area of the control.
Public property WorkareaBounds Gets the size of the bounded work area of the control.
Public property WorkareaClient Gets the size of the client work area of the control.

Top

Methods

  Name Description
Public method Calculate Calculates the control.
Protected method DrawContextButton Draws a context button for the control.
Protected method DrawHotOrSelected Indicates the graphical bounds of a rectangle.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method InitLayout Specifies the bounds of the control to use when defining a control's size and position. (Overrides LayoutEngine.InitLayout(Object, BoundsSpecified).)
Public method Layout Provides data for the Layout event. (Overrides LayoutEngine.Layout(Object, LayoutEventArgs).)
Protected method MemberwiseClone (Inherited from Object.)
Protected method RenderButton Renders the buttons of the control.
Protected method RenderButtons Renders the buttons of the control.
Protected method RenderWidgets Renders the widgets in the control.
Public method ToString (Inherited from Object.)
Public method ViewIndexFromPoint Indicates the view point of index to point.

Top

Fields

  Name Description
Protected field buttonPadding Defines the thickness value that describes the amount of space between the control and its child element.
Protected field buttonSize Defines the size of the buttons on the control.
Protected field widgetHeaderSize Defines the combined size, in bytes, of the entire widget header.
Protected field widgetMargin Defines the combined size, in bytes, of the entire widget margin.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.