Freigeben über


ProvideToolWindowAttribute.Width Property

Gets or sets the default width of the tool window.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'Declaration
Public Property Width As Integer
    Get
    Set
'Usage
Dim instance As ProvideToolWindowAttribute
Dim value As Integer

value = instance.Width

instance.Width = value
public int Width { get; set; }
public:
property int Width {
    int get ();
    void set (int value);
}
member Width : int with get, set
function get Width () : int
function set Width (value : int)

Property Value

Type: System.Int32
The default width of the tool window.

.NET Framework Security

See Also

Reference

ProvideToolWindowAttribute Class

ProvideToolWindowAttribute Members

Microsoft.VisualStudio.Shell Namespace