RichTextContentControl Members (2007 System)

Include Protected Members
Include Inherited Members

Represents a block of text or other types of content in a document.

The RichTextContentControl type exposes the following members.

Constructors

 

Name

Description

Public method

RichTextContentControl

Infrastructure. Overloaded.

Top

Methods

 

Name

Description

Public method

BeginInit

Infrastructure.

Protected method

CheckValidState

(Inherited from RemoteComponent.)

Protected method

Cleanup

Infrastructure. (Inherited from ContentControlBase.)

Public method

Copy

Copies the RichTextContentControl from the document to the Clipboard.

Public method

Cut

Removes the RichTextContentControl from the document and adds it to the Clipboard.

Public method

Delete

Deletes a dynamically created content control from the document and removes it from the ControlCollection in the document. (Inherited from ContentControlBase.)

Public method

Dispose

Overloaded. Releases all resources used by the ContentControlBase.

Public method

EndInit

Infrastructure.

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

(Inherited from RemoteComponent.)

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Protected method

GetHostItem<T>

(Inherited from RemoteComponent.)

Protected method

GetPrimaryControl

Infrastructure. (Inherited from ContentControlBase.)

Protected method

GetRange

Infrastructure. (Inherited from ContentControlBase.)

Protected method

GetService

(Inherited from RemoteComponent.)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

InitEvents

Infrastructure. (Inherited from ContentControlBase.)

Protected method

InitializeControl

Infrastructure. (Inherited from ContentControlBase.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnBindingContextChanged

Infrastructure. (Inherited from RemoteBindableComponent.)

Protected method

OnEnter

Infrastructure. (Inherited from ContentControlBase.)

Protected method

RunWithPlaceholderEditingOn

Infrastructure. (Inherited from ContentControlBase.)

Public method

SetPlaceholderText

Displays text that is in a BuildingBlock, a Range, or a string as the placeholder text in the RichTextContentControl.

Protected method

SetPrimaryCookie

(Inherited from RemoteComponent.)

Protected method

ShouldFireValidationEvents

Infrastructure. (Inherited from ContentControlBase.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

Application

Gets a Application that represents the current instance of Microsoft Office Word.

Public property

BindingContext

Gets or sets the System.Windows.Forms.BindingContext for the component. (Inherited from RemoteBindableComponent.)

Public property

Container

(Inherited from RemoteComponent.)

Public property

ContainerComponent

Infrastructure. (Inherited from RemoteBindableComponent.)

Public property

Creator

Gets a 32-bit integer that indicates the application in which the RichTextContentControl was created.

Public property

DataBindings

Gets the Binding objects for the component. (Inherited from RemoteBindableComponent.)

Public property

DefaultDataSourceUpdateMode

Gets or sets the default DataSourceUpdateMode for the component. (Inherited from RemoteBindableComponent.)

Public property

DefaultTextStyle

Gets the name of the character style to use to format text in the RichTextContentControl.

Protected property

DesignMode

(Inherited from RemoteComponent.)

Protected property

Document

Gets the Document that contains the content control. (Inherited from ContentControlBase.)

Protected property

HostContext

(Inherited from RemoteComponent.)

Public property

ID

Gets a unique number that identifies the content control. (Inherited from ContentControlBase.)

Protected property

Identifier

(Inherited from RemoteComponent.)

Public property

InnerObject

Gets the underlying native object for the content control. (Inherited from ContentControlBase.)

Protected property

InnerType

(Inherited from RemoteComponent.)

Protected property

ItemProvider

(Inherited from RemoteComponent.)

Public property

LockContentControl

Gets or sets a value that specifies whether the RichTextContentControl can be deleted from the document.

Public property

LockContents

Gets or sets a value that specifies whether the contents of the RichTextContentControl can be edited.

Public property

Parent

Gets the parent of the RichTextContentControl.

Public property

ParentContentControl

Gets the parent content control of a RichTextContentControl that is nested in another content control.

Public property

PlaceholderText

Gets or sets the text that is displayed in the RichTextContentControl until the text is changed by a user action or some other operation.

Protected property

PrimaryCookie

(Inherited from RemoteComponent.)

Public property

Range

Gets a Range that represents the contents of the RichTextContentControl.

Public property

ShowingPlaceholderText

Gets a value that indicates whether the RichTextContentControl is currently displaying placeholder text.

Public property

Site

(Inherited from RemoteComponent.)

Public property

Tag

Gets or sets a string that you want to associate with the RichTextContentControl.

Public property

Temporary

Gets or sets a value that specifies whether the RichTextContentControl is automatically deleted from the document when the control is edited.

Public property

Text

Gets or sets the text in the RichTextContentControl.

Public property

Title

Gets or sets the title of the RichTextContentControl.

Top

Events

 

Name

Description

Public event

Added

Occurs after the content control is added to the document. (Inherited from ContentControlBase.)

Public event

BindingContextChanged

Occurs when the value of the BindingContext property changes. (Inherited from RemoteBindableComponent.)

Public event

ContentUpdating

Occurs just before Microsoft Office Word updates the text in the content control, if the content control is bound to a custom XML part. (Inherited from ContentControlBase.)

Public event

Deleting

Occurs just before the content control is deleted from the document. (Inherited from ContentControlBase.)

Public event

Disposed

(Inherited from RemoteComponent.)

Public event

Entering

Occurs when the user clicks in the content control, or when the cursor is moved into the content control programmatically. (Inherited from ContentControlBase.)

Public event

Exiting

Occurs when the user clicks outside the content control, or when the cursor is moved outside the content control programmatically. (Inherited from ContentControlBase.)

Public event

StoreUpdating

Occurs just before Microsoft Office Word updates data in a custom XML part that is bound to the content control (that is, after the text in the content control changes). (Inherited from ContentControlBase.)

Public event

Validated

Occurs when the content control has been successfully validated. (Inherited from ContentControlBase.)

Public event

Validating

Occurs when the contents of the content control are being validated. (Inherited from ContentControlBase.)

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

ISupportInitializeControl.InitializeControl

Infrastructure.

Top

See Also

Reference

RichTextContentControl Class

Microsoft.Office.Tools.Word Namespace