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.exribbon.dll' reference to your project.
    With Exribbon1
        With .Items
            With .Add("PropertiesGrid", 3).SubControl
                .Width = 256
                .Height = 312
                .Window = PropertyGrid1
            End With
        End With
    End With

    PropertyGrid1.SelectedObject = Exribbon1

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.EXRIBBONLib.Items var_Items = exribbon1.Items;
    exontrol.EXRIBBONLib.Control var_Control = var_Items.Add("PropertiesGrid", 3, null).SubControl;
    var_Control.Width = 256;
    var_Control.Height = 312;
    var_Control.Window = propertyGrid1;

    propertyGrid1.SelectedObject = exribbon1;

}