Condividi tramite


Proprietà Window.Width

Ottiene o imposta la larghezza della finestra in unità carattere.

Spazio dei nomi:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Sintassi

'Dichiarazione
Property Width As Integer
int Width { get; set; }
property int Width {
    int get ();
    void set (int value);
}
abstract Width : int with get, set
function get Width () : int 
function set Width (value : int)

Valore proprietà

Tipo: Int32
Larghezza della finestra in unità carattere.

Esempi

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

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Window Interfaccia

Spazio dei nomi EnvDTE