IContentControl
Interface
Defines the state and template contract for a UI control that represents a structured document tag.
Definition
Namespace:Telerik.WinForms.Documents.UI.Extensibility
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public interface IContentControl
Methods
Gets the template element name used for the control's content body.
C#
string GetBodyElementName()
The required body element name used by the control template.
Gets the state currently backing the control; the content-control hit-test layer uses it to update hover state.
C#
ContentControlState GetCurrentState()
The current state, or null if no state has been applied.
Applies the initial document state when the UI control is created.
C#
void Initialize(ContentControlState state)
The structured-document-tag state to display.
Replaces the state driving the control's current presentation.
C#
void UpdateState(ContentControlState state)
The latest structured-document-tag state.