Share via


Widget Class

Represents the component of the widget control.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.SqlServer.Management.Controls.Widget

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

Syntax

'Declaration
Public Class Widget _
    Inherits Component _
    Implements IWidget, IComponent, IDisposable
'Usage
Dim instance As Widget
public class Widget : Component, IWidget, 
    IComponent, IDisposable
public ref class Widget : public Component, 
    IWidget, IComponent, IDisposable
type Widget =  
    class
        inherit Component
        interface IWidget
        interface IComponent
        interface IDisposable
    end
public class Widget extends Component implements IWidget, IComponent, IDisposable

The Widget type exposes the following members.

Constructors

  Name Description
Public method Widget() Initializes a new instance of the Widget class with the default property values.
Public method Widget(IContainer) Initializes a new instance of the Widget class with the specified container.

Top

Properties

  Name Description
Protected property CanRaiseEvents (Inherited from Component.)
Public property Container (Inherited from Component.)
Public property Control Gets or sets the control of the widget.
Public property DefaultSize Gets or sets the default size of the control.
Protected property DesignMode (Inherited from Component.)
Protected property Events (Inherited from Component.)
Public property Site (Inherited from Component.)
Public property Text Gets or sets the text associated with this control.

Top

Methods

  Name Description
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method Dispose() (Inherited from Component.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the Widget class and optionally releases the managed resources. (Overrides Component.Dispose(Boolean).)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Component.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Protected method GetService (Inherited from Component.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method ToString (Inherited from Component.)

Top

Events

  Name Description
Public event Disposed (Inherited from Component.)

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.