Interface
IContentControl

Represents a content control in the Telerik document framework, allowing for extensibility and customization of content presentation and interaction.

Definition

Namespace:Telerik.Windows.Documents.UI.Extensibility

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public interface IContentControl

Methods

GetBodyElementName()

Retrieves the name of the body element associated with the content control.

Declaration

cs-api-definition
string GetBodyElementName()

Returns

string

A string representing the name of the body element.

GetCurrentState()

Retrieves the current state of the content control.

Declaration

cs-api-definition
ContentControlState GetCurrentState()

Returns

ContentControlState

The current state of the content control as an object of type T.

Initialize(ContentControlState)

Initializes the content control with the specified state.

Declaration

cs-api-definition
void Initialize(ContentControlState state)

Parameters

state

ContentControlState

The state of the content control to be initialized.

UpdateState(ContentControlState)

Updates the state of the content control with the specified state.

Declaration

cs-api-definition
void UpdateState(ContentControlState state)

Parameters

state

ContentControlState

The new state to apply to the content control.