Udostępnij za pośrednictwem


ContentControlBase Members (2007 System)

Include Protected Members
Include Inherited Members

Provides the base class for content controls in Visual Studio Tools for Office solutions.

The ContentControlBase type exposes the following members.

Constructors

 

Name

Description

Protected method

ContentControlBase

Infrastructure. Overloaded.

Top

Methods

 

Name

Description

Protected method

CheckValidState

(Inherited from RemoteComponent.)

Protected method

Cleanup

Infrastructure.

Public method

Delete

Deletes a dynamically created content control from the document and removes it from the ControlCollection in the document.

Public method

Dispose

Overloaded. Releases all resources used by the ContentControlBase.

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.

Protected method

GetRange

Infrastructure.

Protected method

GetService

(Inherited from RemoteComponent.)

Public method

GetType

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

Protected method

InitEvents

Infrastructure.

Protected method

InitializeControl

Infrastructure.

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.

Protected method

RunWithPlaceholderEditingOn

Infrastructure.

Protected method

SetPrimaryCookie

(Inherited from RemoteComponent.)

Protected method

ShouldFireValidationEvents

Infrastructure.

Public method

ToString

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

Top

Properties

 

Name

Description

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

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.)

Protected property

DesignMode

(Inherited from RemoteComponent.)

Protected property

Document

Gets the Document that contains the content control.

Protected property

HostContext

(Inherited from RemoteComponent.)

Public property

ID

Gets a unique number that identifies the content control.

Protected property

Identifier

(Inherited from RemoteComponent.)

Public property

InnerObject

Gets the underlying native object for the content control.

Protected property

InnerType

(Inherited from RemoteComponent.)

Protected property

ItemProvider

(Inherited from RemoteComponent.)

Protected property

PrimaryCookie

(Inherited from RemoteComponent.)

Public property

Site

(Inherited from RemoteComponent.)

Public property

Tag

(Inherited from RemoteComponent.)

Top

Events

 

Name

Description

Public event

Added

Occurs after the content control is added to the document.

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.

Public event

Deleting

Occurs just before the content control is deleted from the document.

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.

Public event

Exiting

Occurs when the user clicks outside the content control, or when the cursor is moved outside the content control programmatically.

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).

Public event

Validated

Occurs when the content control has been successfully validated.

Public event

Validating

Occurs when the contents of the content control are being validated.

Top

See Also

Reference

ContentControlBase Class

Microsoft.Office.Tools.Word Namespace