Gets or sets a string that you want to associate with the ContentControl. Gets a value that specifies whether the ContentControl is currently displaying placeholder text. Gets a Range that represents the contents of the ContentControl. Gets the text that is displayed in the ContentControl until the text is changed by a user action or some other operation. Gets the parent content control of a ContentControl that is nested in another content control. Gets or sets a value that specifies whether the ContentControl can contain line breaks. Gets or sets a value that specifies whether the contents of the ContentControl can be edited. Gets or sets a value that specifies whether the ContentControl can be deleted from the document. Gets the underlying ContentControl object for the ContentControlBase. Gets a unique number that identifies the content control. Gets the collection of items that are displayed by a ContentControl that represents a drop-down list or a combo box. Gets the name of the character style that is used to format text in the ContentControl. Gets or sets the default DataSourceUpdateMode for the ContentControlBase. Gets or sets the format in which dates are saved in a custom XML part by a ContentControl that represents a date picker. Gets or sets the language format of the date that is displayed in a ContentControl that represents a date picker. Gets or sets a string that specifies the format of dates that are displayed in a ContentControl that represents a date picker. Gets or sets the type of calendar that is displayed in a ContentControl that represents a date picker. 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. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |