New to Telerik UI for WinForms? Start a free 30-day trial

Supplies the content-control properties and owning rich text box to a properties dialog.

Definition

Namespace:Telerik.WinForms.Documents.UI.Extensibility

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class ContentControlPropertiesContext

Inheritance: objectContentControlPropertiesContext

Constructors

Creates a dialog context from a content-control start marker and its rich text box. When sdtStart identifies a repeating-section item, Properties is set to the parent section's properties.

C#
public ContentControlPropertiesContext(SdtRangeStart sdtStart, RadRichTextBox associatedRichTextBox)
Parameters:sdtStartSdtRangeStart

The start marker of the content control whose properties are being edited.

associatedRichTextBoxRadRichTextBox

The rich text box that contains the content control.

Properties

Gets or sets the rich text box that contains the content control being edited.

C#
public RadRichTextBox AssociatedRichTextBox { get; set; }

Gets or sets the properties object edited by the dialog. For a repeating-section item, this is its parent section's properties.

C#
public SdtProperties Properties { get; set; }