property Control.Window as Variant
Specifies the handle of the window to be hosted.

TypeDescription
Variant A Long expression that specifies the handle of the Window to be hosted by the Item. 
Use the Window property to assign a Window to an item. The Window may be used by the /COM or /NET version by providing a valid handle to the window to be shown on the item. The /COM object may use the Create method to create an inside ActiveX control.

 The following VB/NET sample displays the form's PropertyGrid control to an Item ( /NET version ):

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    ' Add 'exontrol.extoolbar.dll' reference to your project.
    With Extoolbar1
        With .Items
            With .Add("PropertiesGrid", 3).SubControl
                .Width = 256
                .Height = 312
                .Window = PropertyGrid1
            End With
        End With
    End With

    PropertyGrid1.SelectedObject = Extoolbar1

End Sub

 The following C# sample displays the form's PropertyGrid control to an Item ( /NET version ):

private void Form1_Load(object sender, EventArgs e)
{
    exontrol.EXTOOLBARLib.Items var_Items = extoolbar1.Items;
    exontrol.EXTOOLBARLib.Control var_Control = var_Items.Add("PropertiesGrid", 3, null).SubControl;
    var_Control.Width = 256;
    var_Control.Height = 312;
    var_Control.Window = propertyGrid1;

    propertyGrid1.SelectedObject = extoolbar1;

}