Condividi tramite


Proprietà Window.LinkedWindowFrame

Ottiene un oggetto Window che rappresenta la cornice contenente la finestra.

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

Sintassi

'Dichiarazione
ReadOnly Property LinkedWindowFrame As Window
Window LinkedWindowFrame { get; }
property Window^ LinkedWindowFrame {
    Window^ get ();
}
abstract LinkedWindowFrame : Window with get
function get LinkedWindowFrame () : Window

Valore proprietà

Tipo: EnvDTE.Window
Oggetto Window.

Note

Se la finestra è ancorata a lato della finestra principale, LinkedWindowFrame coinciderà con la finestra principale dell'ambiente.

Se la finestra non è collegata, è di tipo LinkedWindowFrame, è nascosta oppure è una finestra di documento, LinkedWindowFrame restituisce Nothing. Le finestre nascoste non sono considerate collegate perché non sono racchiuse in una cornice.

Esempi

[Visual Basic]

Sub LinkedWindowFrameExample()
   Dim Frame As Window
   Dim w1 As Window = _
   DTE.Windows.Item(Constants.vsWindowKindSolutionExplorer)
   Dim w2 As Window = DTE.Windows.Item(Constants.vsWindowKindOutput)
    
   ' Create a linked window frame and dock Solution Explorer 
   ' and the Ouput window together inside it.
   Frame = DTE.Windows.CreateLinkedWindowFrame(w1, w2, _
   vsLinkedWindowType.vsLinkedWindowTypeDocked)
   Frame.LinkedWindows.Item(1).LinkedWindowFrame.Activate()
End Sub

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Window Interfaccia

Spazio dei nomi EnvDTE