// Generates content of part.
        private static void GeneratePartContent(WebExTaskpanesPart part)
        {
            Wetp.Taskpanes taskpanes1 = new Wetp.Taskpanes();
            taskpanes1.AddNamespaceDeclaration("wetp", "http://schemas.microsoft.com/office/webextensions/taskpanes/2010/11");

            Wetp.WebExtensionTaskpane webExtensionTaskpane1 = new Wetp.WebExtensionTaskpane()
            {
                DockState = "right", Visibility = true, Width = 350D, Row = (UInt32Value)4U
            };

            Wetp.WebExtensionPartReference webExtensionPartReference1 = new Wetp.WebExtensionPartReference()
            {
                Id = "rId1"
            };
            webExtensionPartReference1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            webExtensionTaskpane1.Append(webExtensionPartReference1);

            taskpanes1.Append(webExtensionTaskpane1);

            part.Taskpanes = taskpanes1;
        }
        // Generates content of webExTaskpanesPart1.
        private void GenerateWebExTaskpanesPart1Content(WebExTaskpanesPart webExTaskpanesPart1)
        {
            Wetp.Taskpanes taskpanes1 = new Wetp.Taskpanes();
            taskpanes1.AddNamespaceDeclaration("wetp", "http://schemas.microsoft.com/office/webextensions/taskpanes/2010/11");

            Wetp.WebExtensionTaskpane webExtensionTaskpane1 = new Wetp.WebExtensionTaskpane(){ DockState = "", Visibility = true, Width = 270D, Row = (UInt32Value)1U };

            Wetp.WebExtensionPartReference webExtensionPartReference1 = new Wetp.WebExtensionPartReference(){ Id = "rId1" };
            webExtensionPartReference1.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            webExtensionTaskpane1.Append(webExtensionPartReference1);

            Wetp.WebExtensionTaskpane webExtensionTaskpane2 = new Wetp.WebExtensionTaskpane(){ DockState = "", Visibility = true, Width = 270D, Row = (UInt32Value)2U };

            Wetp.WebExtensionPartReference webExtensionPartReference2 = new Wetp.WebExtensionPartReference(){ Id = "rId2" };
            webExtensionPartReference2.AddNamespaceDeclaration("r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships");

            webExtensionTaskpane2.Append(webExtensionPartReference2);

            taskpanes1.Append(webExtensionTaskpane1);
            taskpanes1.Append(webExtensionTaskpane2);

            webExTaskpanesPart1.Taskpanes = taskpanes1;
        }