Window.Width Property

Definition

Gets or sets the width of the window in character units.

C++/CX
public:
 property int Width { int get(); void set(int value); };

Property Value

The width of the window in character units.

Attributes

Examples

VB
Sub WidthExample()  
   Dim objWin As Window  
   objWin = DTE.Windows.Item(1)  
   MsgBox("Window width: " & objWin.Width)  
End Sub  

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022