For more information, see Personalize the IDE. The Visual Studio edition that you have and the settings that you use determine these elements. Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. This walkthrough illustrates the following tasks:Īdding content controls to the Word document in a document-level project at design time.Ĭreating an XML data file and an XML schema that defines the elements to bind to the content controls.Īttaching the XML schema to the document at design time.Īdding the contents of the XML file to a custom XML part in the document at run time.īinding the content controls to elements in the custom XML part.īinding a DropDownListContentControl to a set of values that are defined in the XML schema. Any changes that you make to the text in the content controls are saved in the custom XML part. When you open the document, the content controls display the values of the XML elements. The example document in this walkthrough displays employee information that is stored in a custom XML part. You can control the display of this data by binding content controls to elements in a custom XML part. Word enables you to store XML data, named custom XML parts, in a document. For more information, see Features available by Office application and project type. This walkthrough demonstrates how to bind content controls in a document-level customization for Word to XML data that is stored in the document.Īpplies to: The information in this topic applies to document-level projects for Word.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |