![]() ![]() Gets a 32-bit integer that indicates the application in which the ContentControl was created. Gets or sets a value that indicates whether a ContentControl that represents a check box control is checked or unchecked. Gets or sets the type of the building blocks that are displayed in a ContentControl that represents a building block gallery. Gets or sets the category of building blocks that are displayed in a ContentControl that represents a building block gallery. Gets a Application that represents the current instance of Microsoft Office Word. NET Framework 3.5, see the following reference section in the Visual Studio 2008 documentation. For documentation about this type in projects that target the. NET Framework 3.5, this type might have different members and the code examples provided for this type might not work. This documentation describes the version of this type that is used in Office projects that target the. ![]() For more information, see Visual Studio Tools for Office Runtime Overview. It is not intended to be implemented in your code. This interface is implemented by the Visual Studio Tools for Office runtime. For example, the DateCalendarType property will throw an exception if you try to use it on a ContentControl that does not represent a date picker. Some ContentControl members will throw an exception if you use them while the control is set to a type of control that is not intended to use the member. After you create a ContentControl, you can change the type of content control that it represents by using the Type property. When you create a ContentControl, you must specify the type of the content control that you want to create, or you can base the new control on an existing content control. You cannot add a ContentControl to a document at design time. To create a ContentControl, use one of the AddContentControl methods. For more information about content controls, see Content Controls. For example, a RichTextContentControl can only represent a rich text control. Other content controls cannot be used in this way. For example, if you create a ContentControl that initially has the functionality of a plain text control, you can change it at run time so that it behaves like a combo box. ContentControlBase IComponent ISupportInitialize IDisposable IBindableComponent RemarksĪ ContentControl object is a mutable control that can represent any of the eight types of content controls that you can use in Microsoft Office Word. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |