This documentation is archived and is not being maintained.

<Document Name>.designer.xml

Visual Studio 2008

Applies to

The information in this topic applies only to the specified Visual Studio Tools for Office projects and versions of Microsoft Office.

Project type

  • Document-level projects

Microsoft Office version

  • 2007 Microsoft Office system

  • Microsoft Office 2003

For more information, see Features Available by Application and Project Type.

This file is generated by Visual Studio Tools for Office. Do not modify this file manually. Changes to this file might cause incorrect behavior and will be lost if the code is regenerated.

This file serves as a blueprint for the Visual Basic or C# code that is generated for the <Document Name>.designer.vb or <Document Name>.designer.cs file.

This file is used for controls you add to the document that are aggregated with the extender interfaces provided by Microsoft Office Word or Microsoft Office Excel. It is created for controls that are not part of the standard Visual Studio collection, such as user controls or third party controls. For example, if you create a custom user control for an Excel worksheet, Visual Studio Tools for Office generates a class that derives from the user control and implements the extender interface provided by Excel. The extender interface provides positioning information for the control—the size and position of the control is determined by properties that are part of a container ActiveX control that is generated to hold the control. For more information, see Controls on Office Documents and Limitations of Windows Forms Controls on Office Documents.