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 | |
---|---|---|
SwitcherRenderer | Initializes a new instance of the SwitcherRenderer class. |
Top
Properties
Name | Description | |
---|---|---|
BorderPen | Gets the border pen for the control. | |
ButtonsBounds | Gets the size and location of the control including its non-client elements, in pixels, relative to the parent control. | |
ClientBounds | Gets the size and location of the control including its client elements, in pixels, relative to the parent control. | |
ContextHovered | Gets or sets a value indicating whether the context for the control is hovered. | |
GraphicsPath | Gets a series of connected lines and curves. | |
HideButtons | Gets a value indicating whether the control is hidden. | |
Hovered | Gets the hovered value of the control. | |
IsContextButtonVisible | Gets a value indicating whether the control is visible in the user. | |
MaxButtons | Gets the maximum button of the control. | |
MinimumSize | Gets the minimum size of the control. | |
SelectionBorderPenDark | Gets a dark colored selection border of the control. | |
SelectionBorderPenLight | Gets a light colored selection border of the control. | |
Switcher | Gets the value of a switcher of a control. | |
WidgetWorkarea | Gets the size of the widget work area of the control. | |
Workarea | Gets the size of the work area of the control. | |
WorkareaBounds | Gets the size of the bounded work area of the control. | |
WorkareaClient | Gets the size of the client work area of the control. |
Top
Methods
Name | Description | |
---|---|---|
Calculate | Calculates the control. | |
DrawContextButton | Draws a context button for the control. | |
DrawHotOrSelected | Indicates the graphical bounds of a rectangle. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
InitLayout | Specifies the bounds of the control to use when defining a control's size and position. (Overrides LayoutEngine.InitLayout(Object, BoundsSpecified).) | |
Layout | Provides data for the Layout event. (Overrides LayoutEngine.Layout(Object, LayoutEventArgs).) | |
MemberwiseClone | (Inherited from Object.) | |
RenderButton | Renders the buttons of the control. | |
RenderButtons | Renders the buttons of the control. | |
RenderWidgets | Renders the widgets in the control. | |
ToString | (Inherited from Object.) | |
ViewIndexFromPoint | Indicates the view point of index to point. |
Top
Fields
Name | Description | |
---|---|---|
buttonPadding | Defines the thickness value that describes the amount of space between the control and its child element. | |
buttonSize | Defines the size of the buttons on the control. | |
widgetHeaderSize | Defines the combined size, in bytes, of the entire widget header. | |
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.