New to Telerik UI for WPFStart a free 30-day trial

Represents rich text box control, which can be used to visualize and edit RadDocument.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
[TelerikToolboxCategory("Documents")]
public class RadRichTextBox : Control, IDocumentEditorPresenterContainer, IDocumentEditor

Inheritance: objectRadRichTextBox

Implements: IDocumentEditorIDocumentEditorPresenterContainer

Constructors

Initializes a new instance of the RadRichTextBox class.

C#
public RadRichTextBox()

Fields

AcceptsReturnProperty

DependencyProperty

C#
public static readonly DependencyProperty AcceptsReturnProperty

AcceptsTabProperty

DependencyProperty

C#
public static readonly DependencyProperty AcceptsTabProperty

AllowScalingProperty

DependencyProperty

C#
public static readonly DependencyProperty AllowScalingProperty

CaretColorProperty

DependencyProperty

C#
public static readonly DependencyProperty CaretColorProperty
C#
public static readonly DependencyProperty CaretWidthScaleFactorProperty

CommandsProperty

DependencyProperty

C#
public static readonly DependencyProperty CommandsProperty
C#
public static readonly DependencyProperty CommentTemplateContentMarginProperty

CurrentUserProperty

DependencyProperty

C#
public static readonly DependencyProperty CurrentUserProperty
C#
public static readonly DependencyProperty DocumentInheritsDefaultStyleSettingsProperty
C#
public static readonly DependencyProperty EnforcedPermissionRangeBrushProperty

HasValidationErrorsProperty

DependencyProperty

C#
public static readonly DependencyProperty HasValidationErrorsProperty
C#
public const string HorizontalScrollBarName = "HorizontalScrollBar"
C#
public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty
C#
public static readonly DependencyProperty HyperlinkNavigationModeProperty
C#
public static readonly DependencyProperty HyperlinkToolTipFormatStringProperty
C#
public static readonly DependencyProperty IsAdvancedSelectionEnabledProperty
C#
public static readonly DependencyProperty IsContextMenuEnabledProperty

IsFocusableProperty

DependencyProperty

C#
public static readonly DependencyProperty IsFocusableProperty
C#
public static readonly DependencyProperty IsImageMiniToolBarEnabledProperty

IsInPagedLayoutModeProperty

DependencyProperty

C#
public static readonly DependencyProperty IsInPagedLayoutModeProperty

Represents the IsPasteOptionsPopupEnabled dependency property.

C#
public static readonly DependencyProperty IsPasteOptionsPopupEnabledProperty

IsReadOnlyProperty

DependencyProperty

C#
public static readonly DependencyProperty IsReadOnlyProperty

IsSelectionEnabledProperty

DependencyProperty

C#
public static readonly DependencyProperty IsSelectionEnabledProperty
C#
public static readonly DependencyProperty IsSelectionMiniToolBarEnabledProperty
C#
public static readonly DependencyProperty IsSpellCheckingEnabledProperty
C#
public static readonly DependencyProperty IsTrackChangesEnabledProperty

LayoutModeProperty

DependencyProperty

C#
public static readonly DependencyProperty LayoutModeProperty
C#
public static readonly DependencyProperty LineBreakingRuleLanguageProperty

Represents the maximum scale factor the control supports.

C#
public static readonly double MaxScaleFactor
C#
public const string MeasuringPanelName = "MeasuringPanel"

Represents the minimum scale factor the control supports.

C#
public static readonly double MinScaleFactor
C#
public static readonly DependencyProperty MouseOverBorderThicknessProperty
C#
public const string PrintingScreenName = "PrintingScreen"
C#
public static readonly DependencyProperty ProtectionAuthenticationProviderProperty

ScaleFactorProperty

DependencyProperty

C#
public static readonly DependencyProperty ScaleFactorProperty

SelectionFillProperty

DependencyProperty

C#
public static readonly DependencyProperty SelectionFillProperty

SelectionStrokeProperty

DependencyProperty

C#
public static readonly DependencyProperty SelectionStrokeProperty

ShowCommentsProperty

DependencyProperty

C#
public static readonly DependencyProperty ShowCommentsProperty
C#
public static readonly DependencyProperty ShowFormattingSymbolsProperty
C#
public static readonly DependencyProperty ShowMergeFieldsHighlightProperty
C#
public const string VerticalScrollBarName = "VerticalScrollBar"
C#
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty
C#
public const string ViewContentPresenter = "ViewPresenter"

Properties

Gets or sets a value indicating whether pressing the RETURN key types a RETURN character in the control.

C#
public bool AcceptsReturn { get; set; }

Implements: IDocumentEditorPresenterContainer.AcceptsReturn

Gets or sets a value indicating whether pressing the TAB key types a TAB character in the control instead of moving the focus to the next control in the tab order.

C#
public bool AcceptsTab { get; set; }

Implements: IDocumentEditorPresenterContainer.AcceptsTab

Gets the active document editor for the RadRichTextBox, allowing for manipulation and editing of the current document.

C#
public IDocumentEditor ActiveDocumentEditor { get; }

Gets or sets a value representing the active document presenter.

C#
public IDocumentEditorPresenter ActiveEditorPresenter { get; set; }

Gets or sets a value representing the current add new bibliographic reference dialog instance.

C#
[Browsable(false)]
public IAddNewBibliographicSourceDialog AddNewBibliographicSourceDialog { get; set; }

Gets or sets a value indicating whether the scaling is enabled.

C#
public bool AllowScaling { get; set; }

Implements: IDocumentEditorPresenterContainer.AllowScaling

Gets or sets a value indicating whether the RadRichTextBox automatically inserts hyperlinks when text is recognized as a URL.

C#
public bool AutoInsertHyperlinks { get; set; }
Property Value:

A boolean value, where true enables automatic hyperlink insertion and false disables it.

Implements: IDocumentEditorPresenterContainer.AutoInsertHyperlinks

Gets or sets the color of the caret in the RadRichTextBox.

C#
public Color CaretColor { get; set; }
Property Value:

A Color representing the color of the caret.

Implements: IDocumentEditorPresenterContainer.CaretColor

Gets the factory responsible for creating caret instances in the RadRichTextBox.

C#
public ICaretFactory CaretFactory { get; set; }

Implements: IDocumentEditorPresenterContainer.CaretFactory

Gets or sets a value representing the scale factor of the width of the caret.

C#
public int CaretWidthScaleFactor { get; set; }

Implements: IDocumentEditorPresenterContainer.CaretWidthScaleFactor

Gets or sets a value representing the current dialog for changing document permissions.

C#
[Browsable(false)]
public IChangeEditingPermissionsDialog ChangeEditingPermissionsDialog { get; set; }

Gets or sets a value representing the current dialog for editing CheckBox content control properties.

C#
[Browsable(false)]
public ICheckBoxPropertiesDialog CheckBoxPropertiesDialog { get; set; }

Gets or sets a value representing the current code formatting dialog instance.

C#
[Browsable(false)]
public ICodeFormattingDialog CodeFormattingDialog { get; set; }

Represents a collection of commands for the RadRichTextBox control.

C#
public RichTextBoxCommands Commands { get; set; }

Gets or sets the minimum width of the Comment Pane in the RadRichTextBox control.

C#
public double CommentPaneMinWidth { get; set; }
Property Value:

A double representing the minimum width in pixels. The default value is 200.

Implements: IDocumentEditorPresenterContainer.CommentPaneMinWidth

Gets or sets the comment template content margin.

C#
public Thickness CommentTemplateContentMargin { get; set; }

Implements: IDocumentEditorPresenterContainer.CommentTemplateContentMargin

Gets or sets a value representing the current context menu.

C#
public IContextMenu ContextMenu { get; set; }

Gets the current editing context of the RadRichTextBox, which provides information about the current selection and editing actions.

C#
public EditingContext CurrentEditingContext { get; }

Implements: IDocumentEditorPresenterContainer.CurrentEditingContext

Gets a value indicating the current editing style.

C#
public StyleDefinition CurrentEditingStyle { get; }

Implements: IDocumentEditorPresenterContainer.CurrentEditingStyle

C#
public PasteContext CurrentPasteContext { get; }

Gets or sets the name of the current user associated with the RadRichTextBox instance.

C#
public UserInfo CurrentUser { get; set; }
Property Value:

A string representing the name of the current user.

Gets the currently visible page index of the RadRichTextBox.

C#
public int CurrentVisiblePage { get; }

Gets or sets a value representing the current dialog for editing DatePicker content control properties.

C#
[Browsable(false)]
public IDatePickerPropertiesDialog DatePickerPropertiesDialog { get; set; }

DefaultInputBindings

InputBindingCollection

Gets the default input bindings for the RadRichTextBox control.

C#
public static InputBindingCollection DefaultInputBindings { get; }

Gets a StyleDefinition instance that stores default values for span and paragraph properties. If DocumentInheritsDefaultStyleSettings is set to true, these properties are used as default style properties for the document elements in Document.

C#
public StyleDefinition DefaultStyleSettings { get; }
C#
public static TextBlockRenderingMode DefaultTextRenderingMode { get; set; }

Gets or sets the current document.

C#
public RadDocument Document { get; set; }

Implements: IDocumentEditorPresenterContainer.DocumentIDocumentEditor.Document

Gets or sets a value indicating whether FontFamily, FontSize, Foreground, FontWeight and FontStyle properties of this instance, or the properties from DefaultStyleSettings, should be used as default style properties for the document elements in Document.

C#
public bool DocumentInheritsDefaultStyleSettings { get; set; }

Gets or sets a value representing the current dialog for editing DropDownList content control properties.

C#
[Browsable(false)]
public IDropDownListPropertiesDialog DropDownListPropertiesDialog { get; set; }

Gets or sets a value representing the current instance of the dialog for editing custom dictionaries.

C#
[Browsable(false)]
public IEditCustomDictionaryDialog EditCustomDictionaryDialog { get; set; }

Gets or sets the email pattern used for validation in the RadRichTextBox.

C#
public string EmailPattern { get; set; }
Property Value:

A string representing the regular expression pattern for validating email addresses.

Implements: IDocumentEditorPresenterContainer.EmailPattern

Gets or sets the brush used to visually indicate enforced permission ranges in the RadRichTextBox.

C#
public Brush EnforcedPermissionRangeBrush { get; set; }
Property Value:

A Brush object that determines the appearance of the enforced permission ranges. Defaults to null if not set.

Implements: IDocumentEditorPresenterContainer.EnforcedPermissionRangeBrush

Specifies the shading mode for fields in the RadRichTextBox.

C#
public FieldShadingType FieldShadingMode { get; set; }

Implements: IDocumentEditorPresenterContainer.FieldShadingMode

Gets or sets a value representing the current find/replace dialog instance.

C#
[Browsable(false)]
public IFindReplaceDialog FindReplaceDialog { get; set; }

Gets or sets a value representing the current floating block properties dialog instance.

C#
[Browsable(false)]
public IFloatingBlockPropertiesDialog FloatingBlockPropertiesDialog { get; set; }

Gets or sets a value representing the current font properties dialog instance.

C#
[Browsable(false)]
public IFontPropertiesDialog FontPropertiesDialog { get; set; }

Gets the horizontal scroll position.

C#
public double HorizontalOffset { get; }

Gets the horizontal scroll bar instance of the control.

C#
public virtual ScrollBar HorizontalScrollBar { get; }

Gets or sets a value representing the horizontal scroll bar visibility.

C#
public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }

Gets or sets the hyperlink navigation mode.

C#
public HyperlinkNavigationMode HyperlinkNavigationMode { get; set; }
Property Value:

The hyperlink navigation mode.

Represents the hyperlink formatting pattern in a RadRichTextBox.
Provides functionality for working with hyperlinks within the text document.

C#
public string HyperlinkPattern { get; set; }

Implements: IDocumentEditorPresenterContainer.HyperlinkPattern

Gets or sets the hyperlink tool tip text.

C#
public string HyperlinkToolTipFormatString { get; set; }
Property Value:

The hyperlink tool tip.

Gets or sets an instance of IIgnoredWordDictionary that provides a list of words that would be ignored by spell checker.

C#
public IIgnoredWordDictionary IgnoredWords { get; set; }

Implements: IDocumentEditorPresenterContainer.IgnoredWords

Gets or sets the image editor dialog.

C#
[Browsable(false)]
public IImageEditorDialog ImageEditorDialog { get; set; }
Property Value:

The image editor dialog.

Gets or sets the image mini toolbar.

C#
public IImageMiniToolBar ImageMiniToolBar { get; set; }
Property Value:

The image mini toolbar.

Represents the settings for the image selection adorner in the RadRichTextBox.

C#
public ImageSelectionAdornerSettings ImageSelectionAdornerSettings { get; }

Implements: IDocumentEditorPresenterContainer.ImageSelectionAdornerSettings

Represents the input handler for the RadRichTextBox, managing user input and interactions.

C#
public IRichTextBoxInputHandler InputHandler { get; set; }

Gets or sets a value representing the current Insert Caption dialog instance.

C#
[Browsable(false)]
public IInsertCaptionDialog InsertCaptionDialog { get; set; }

Gets or sets a value representing the current insert cross-reference window instance.

C#
public IInsertCrossReferenceWindow InsertCrossReferenceWindow { get; set; }

Gets or sets a value representing the current spell checking dialog instance.

C#
[Browsable(false)]
public IInsertDateTimeDialog InsertDateTimeDialog { get; set; }

Gets or sets a value representing the current insert-hyperlink dialog instance.

C#
[Browsable(false)]
public IInsertHyperlinkDialog InsertHyperlinkDialog { get; set; }

Gets or sets a value representing the current insert symbol window.

C#
[Browsable(false)]
public IInsertSymbolWindow InsertSymbolWindow { get; set; }

Gets or sets a value representing the current insert table dialog instance.

C#
[Browsable(false)]
public IInsertTableDialog InsertTableDialog { get; set; }

Gets or sets a value representing the current insert Table of Contents window instance.

C#
[Browsable(false)]
public IInsertTableOfContentsDialog InsertTableOfContentsDialog { get; set; }

Gets or sets a value that indicates whether a the advanced selection mode is enabled. If so, when the cursor leaves the initial word the selection continues by expanding with a whole word every time until the cursor moves in the opposite direction. When the cursor returns to the initial word the selection continues to expand one character at a time. More about this behavior can be learned in the documentation.

C#
public bool IsAdvancedSelectionEnabled { get; set; }

Gets or sets a value indicating whether context menu is enabled.

C#
public bool IsContextMenuEnabled { get; set; }

Gets or sets a value that indicates whether a control is included in tab navigation.

C#
public bool IsFocusable { get; set; }

Implements: IDocumentEditorPresenterContainer.IsFocusable

Gets or sets value indicating whether image mini toolBar is enabled.

C#
public bool IsImageMiniToolBarEnabled { get; set; }

Gets a value indicating whether the RadRichTextBox is currently in header or footer edit mode.

C#
public bool IsInHeaderFooterEditMode { get; set; }

Implements: IDocumentEditorPresenterContainer.IsInHeaderFooterEditMode

Gets or sets a value indicating whether the paste options popup is displayed on paste.

C#
public bool IsPasteOptionsPopupEnabled { get; set; }
Property Value:

true if this instance is paste options popup enabled; otherwise, false.

Gets or sets a value indicating whether the control is read-only.

C#
public bool IsReadOnly { get; set; }

Implements: IDocumentEditorPresenterContainer.IsReadOnly

Gets or sets a value indicating whether selection can be made in the document.

C#
public bool IsSelectionEnabled { get; set; }

Gets or sets value indicating whether selection mini toolBar is enabled.

C#
public bool IsSelectionMiniToolBarEnabled { get; set; }

Gets or sets a value indicating whether the spell checking is enabled for this document.

C#
public bool IsSpellCheckingEnabled { get; set; }

Implements: IDocumentEditorPresenterContainer.IsSpellCheckingEnabled

Gets or sets a value indicating whether touch input is enabled for the RadRichTextBox.

C#
public bool IsTouchEnabled { get; set; }
Property Value:

true if touch input is enabled; otherwise, false.

Gets or sets a value indicating whether formatting symbols are shown in the document.

C#
public bool IsTrackChangesEnabled { get; set; }
Property Value:

true if formatting symbols are shown; otherwise, false.

Gets or sets the document layout mode.

C#
public DocumentLayoutMode? LayoutMode { get; set; }
Property Value:

The document layout mode.

Gets or sets the language which rules should be used for line breaking in the paragraphs.

C#
public LineBreakingRuleLanguage LineBreakingRuleLanguage { get; set; }
Property Value:

The line breaking characters rule language.

Gets or sets a value representing the current line numbering dialog.

C#
[Browsable(false)]
public ILineNumberingDialog LineNumberingDialog { get; set; }

Gets or sets a value representing the current Manage Bibliographic Sources reference dialog instance.

C#
[Browsable(false)]
public IManageBibliographicSourcesDialog ManageBibliographicSourcesDialog { get; set; }

Gets or sets a value representing the current manage bookmark dialog instance.

C#
[Browsable(false)]
public IManageBookmarksDialog ManageBookmarksDialog { get; set; }

Gets or sets a value representing the current manage styles dialog instance.

C#
[Browsable(false)]
public IManageStylesDialog ManageStylesDialog { get; set; }

Represents the context for mentions in the RadRichTextBox, allowing for customizable mention functionality.

C#
public MentionContext MentionContext { get; set; }

Gets or sets a value representing the current Notes dialog instance.

C#
[Browsable(false)]
public INotesDialog NotesDialog { get; set; }

Gets or sets a value representing the current paragraph properties dialog.

C#
[Browsable(false)]
public IParagraphPropertiesDialog ParagraphPropertiesDialog { get; set; }
C#
public IPasteOptionsPopup PasteOptionsPopup { get; set; }

Gets the current PasteSettings associated with RadRichTextBox

C#
public PasteSettings PasteSettings { get; }

Gets or sets a value representing the current dialog for editing Picture content control properties.

C#
[Browsable(false)]
public IPicturePropertiesDialog PicturePropertiesDialog { get; set; }

Gets or sets a value representing the current dialog for editing PlainText content control properties.

C#
[Browsable(false)]
public IPlainTextPropertiesDialog PlainTextPropertiesDialog { get; set; }

Gets or sets a value representing the current dialog for enforcing document protection.

C#
[Browsable(false)]
public IProtectDocumentDialog ProtectDocumentDialog { get; set; }

Provides authentication support for the protection mechanism of the RadRichTextBox control.

C#
public IProtectionAuthenticationProvider ProtectionAuthenticationProvider { get; set; }
C#
public ApplicationCommandsCollection RegisteredApplicationCommands { get; }

Gets or sets a value representing the current dialog for editing RepeatingSection content control properties.

C#
[Browsable(false)]
public IRepeatingSectionPropertiesDialog RepeatingSectionPropertiesDialog { get; set; }

Gets or sets a value representing the current dialog for editing RichText content control properties.

C#
[Browsable(false)]
public IRichTextPropertiesDialog RichTextPropertiesDialog { get; set; }

Gets or sets a value representing the current view scale factor.

C#
public Size ScaleFactor { get; set; }

Implements: IDocumentEditorPresenterContainer.ScaleFactor

Gets the height of the scrollable area in the RadRichTextBox.

C#
public double ScrollableHeight { get; }

Gets the width of the scrollable area within the RadRichTextBox control.

C#
public double ScrollableWidth { get; }

Gets or sets a value representing the current section columns dialog.

C#
[Browsable(false)]
public ISectionColumnsDialog SectionColumnsDialog { get; set; }

Gets or sets the currently focused comment in the document

C#
public Comment SelectedComment { get; set; }

Implements: IDocumentEditorPresenterContainer.SelectedComment

Gets or sets the currently focused note

C#
public Note SelectedNote { get; set; }

Implements: IDocumentEditorPresenterContainer.SelectedNote

Gets or sets the fill color of the selected text in the RadRichTextBox.

C#
public Brush SelectionFill { get; set; }

Implements: IDocumentEditorPresenterContainer.SelectionFill

Gets or sets a value representing the current selection mini toolbar.

C#
public ISelectionMiniToolBar SelectionMiniToolBar { get; set; }

Gets or sets the selection stroke of the RadRichTextBox. This property defines the visual appearance of the selection in the rich text box, such as its color and thickness.

C#
public Brush SelectionStroke { get; set; }
Property Value:

An object representing the stroke applied to the selection. The stroke can be customized to enhance the visual representation of selected text.

Implements: IDocumentEditorPresenterContainer.SelectionStroke

Gets or sets a value representing the current Set Numbering Value reference dialog instance.

C#
[Browsable(false)]
public ISetNumberingValueDialog SetNumberingValueDialog { get; set; }

Gets or sets a value indicating whether the comments are shown.

C#
public bool ShowComments { get; set; }

Implements: IDocumentEditorPresenterContainer.ShowComments

Gets or sets a value indicating whether formatting symbols are shown in the document.

C#
public bool ShowFormattingSymbols { get; set; }
Property Value:

true if formatting symbols are shown; otherwise, false.

Implements: IDocumentEditorPresenterContainer.ShowFormattingSymbols

Displays the highlight for merge fields in the RadRichTextBox control.

C#
public bool ShowMergeFieldsHighlight { get; set; }

Gets or sets the ISpellChecker implementation used when proofing.

C#
public ISpellChecker SpellChecker { get; set; }

Implements: IDocumentEditorPresenterContainer.SpellChecker

Gets or sets a value representing the current spell checking dialog instance.

C#
[Browsable(false)]
public ISpellCheckingDialog SpellCheckingDialog { get; set; }

Gets or sets a value representing the current style formatting properties dialog instance.

C#
[Browsable(false)]
public IStyleFormattingPropertiesDialog StyleFormattingPropertiesDialog { get; set; }

Gets or sets a value representing the current table borders dialog instance.

C#
[Browsable(false)]
public ITableBordersDialog TableBordersDialog { get; set; }

Gets or sets a value representing the current table properties dialog instance.

C#
[Browsable(false)]
public ITablePropertiesDialog TablePropertiesDialog { get; set; }

Gets or sets a value representing the current tab stops properties dialog instance.

C#
[Browsable(false)]
public ITabStopsPropertiesDialog TabStopsPropertiesDialog { get; set; }
C#
public TextBlockRenderingMode TextRenderingMode { get; set; }

Gets or sets the options for tracking changes in the RadRichTextBox control.

C#
public TrackChangesOptions TrackChangesOptions { get; }
Property Value:

A TrackChangesOptions value that specifies how changes are tracked in the document.

Builds and configures the user interface layers for the RadRichTextBox control.

C#
public UILayersBuilder UILayersBuilder { get; set; }

Implements: IDocumentEditorPresenterContainer.UILayersBuilder

Gets or sets a value representing the current dialog for removing document protection.

C#
[Browsable(false)]
public IUnprotectDocumentDialog UnprotectDocumentDialog { get; set; }

Gets or sets whether you want to use the previous version of Microsoft IME. Must be synchronized with the option in the OS settings.

C#
public bool UsePreviousVersionOfMicrosoftIme { get; set; }

Implements: IDocumentEditorPresenterContainer.UsePreviousVersionOfMicrosoftIme

Gets the collection of users associated with the RadRichTextBox instance.

C#
public PermissionInfoCollection Users { get; set; }

Gets the vertical scroll position.

C#
public double VerticalOffset { get; }

Gets the vertical scroll bar instance of the control.

C#
public virtual ScrollBar VerticalScrollBar { get; }

VerticalScrollBarVisibility

ScrollBarVisibility

Gets or sets a value representing the vertical scroll bar visibility.

C#
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }

Gets the height of the viewport in the RadRichTextBox control.

C#
public double ViewportHeight { get; }

Gets the width of the viewport in the RadRichTextBox control.

C#
public double ViewportWidth { get; }

Gets or sets a value representing the current Watermark Settings dialog instance.

C#
[Browsable(false)]
public IWatermarkSettingsDialog WatermarkSettingsDialog { get; set; }

Methods

Accepts all revisions in the document.

C#
public void AcceptAllRevisions()

Implements: IDocumentEditor.AcceptAllRevisions()

Accepts a revision.

C#
public void AcceptRevision(Revision revision)
Parameters:revisionRevision

The revision.

Implements: IDocumentEditor.AcceptRevision(Revision)

Initializes a text box element for a shape that does not have any.

C#
public void AddShapeTextBox(ShapeInline shape)
Parameters:shapeShapeInline

The ShapeInline.

Implements: IDocumentEditor.AddShapeTextBox(ShapeInline)

Adds a tab stop to the current paragraph.

C#
public void AddTabStop(TabStop tabStop)
Parameters:tabStopTabStop

The tab stop.

Implements: IDocumentEditor.AddTabStop(TabStop)

Adds a tab stop range to the current paragraph.

C#
public void AddTabStopRange(IEnumerable<TabStop> tabStops)
Parameters:tabStopsIEnumerable<TabStop>

The tab stop collection.

Implements: IDocumentEditor.AddTabStopRange(IEnumerable<TabStop>)

Begins a new group of actions which will appear as a single item in the document history.

C#
public void BeginUndoGroup()

Implements: IDocumentEditor.BeginUndoGroup()

Cancels the currently started undo-able group, started with BeginUndoGroup() and undoes the actions executed since the starting of the group.

If an undo group is not started, an InvalidOperationException is thrown.

C#
public void CancelUndoGroup()

Implements: IDocumentEditor.CancelUndoGroup()

Returns a value indicating whether the formatting can be copied according to the current selection.

C#
public bool CanCopyFormatting()
Returns:

bool

The value indicating whether the formatting can be copied.

Changes the display mode of all fields in the document.

C#
public void ChangeAllFieldsDisplayMode(FieldDisplayMode displayMode)
Parameters:displayModeFieldDisplayMode

The display mode which will be used for the fields.

Implements: IDocumentEditor.ChangeAllFieldsDisplayMode(FieldDisplayMode)

Changes the baseline alignment of the selected content.

C#
public void ChangeBaselineAlignment(BaselineAlignment baselineAlignment)
Parameters:baselineAlignmentBaselineAlignment

The baseline alignment to be applied.

Implements: IDocumentEditor.ChangeBaselineAlignment(BaselineAlignment)

Changes the bibliographic style of all bibliography related fields in the document.

C#
public void ChangeBibliographicStyle(BibliographicReferenceStyleBase newBibliographicStyle)
Parameters:newBibliographicStyleBibliographicReferenceStyleBase

The new bibliographic style.

Implements: IDocumentEditor.ChangeBibliographicStyle(BibliographicReferenceStyleBase)

Sets a value determining whether the headers and footers of the first page in the selected sections are different than the ones of the other pages.

C#
public void ChangeDifferentFirstPageHeaderFooter(bool value)
Parameters:valuebool

If set to true, the header and footer of the first page will be different than the rest of the pages in the section.

Implements: IDocumentEditor.ChangeDifferentFirstPageHeaderFooter(bool)

Changes the value determining whether the sections should have different odd and even pages header/footer.

C#
public void ChangeDifferentOddAndEvenPagesHeaderFooter(bool value)
Parameters:valuebool

true, if the even and odd page header/footer should differ.

Implements: IDocumentEditor.ChangeDifferentOddAndEvenPagesHeaderFooter(bool)

Changes default tab stop width for the document.

C#
public void ChangeDocumentDefaultTabWidth(double tabWidth)
Parameters:tabWidthdouble

Width of the tab.

Implements: IDocumentEditor.ChangeDocumentDefaultTabWidth(double)

Changes the Tag property of a specified DocumentElement.

C#
public void ChangeDocumentElementTag(DocumentElement element, string tag)
Parameters:elementDocumentElement

The DocumentElement.

tagstring

The new tag value.

Implements: IDocumentEditor.ChangeDocumentElementTag(DocumentElement, string)

Changes the first number of the endnotes in the document.

C#
public void ChangeDocumentEndnotesFirstNumber(int firstNumber)
Parameters:firstNumberint

The first number.

Implements: IDocumentEditor.ChangeDocumentEndnotesFirstNumber(int)

Changes the numbering format of the endnotes in the document.

C#
public void ChangeDocumentEndnotesNumberingFormat(ListNumberingFormat numberingFormat)
Parameters:numberingFormatListNumberingFormat

The numbering format.

Implements: IDocumentEditor.ChangeDocumentEndnotesNumberingFormat(ListNumberingFormat)

Changes the type of numbering restart of the endnotes in the document.

C#
public void ChangeDocumentEndnotesNumberingRestartType(NumberingRestartType numberingRestartType)
Parameters:numberingRestartTypeNumberingRestartType

The type of restart for the numbering.

Implements: IDocumentEditor.ChangeDocumentEndnotesNumberingRestartType(NumberingRestartType)

Changes the position of the endnotes in the document.

C#
public void ChangeDocumentEndnotesPosition(EndnotesPosition endnotesPosition)
Parameters:endnotesPositionEndnotesPosition

The position.

Implements: IDocumentEditor.ChangeDocumentEndnotesPosition(EndnotesPosition)

Changes the first number of the footnotes in the document.

C#
public void ChangeDocumentFootnotesFirstNumber(int firstNumber)
Parameters:firstNumberint

The first number.

Implements: IDocumentEditor.ChangeDocumentFootnotesFirstNumber(int)

Changes the numbering format of the footnotes in the document.

C#
public void ChangeDocumentFootnotesNumberingFormat(ListNumberingFormat numberingFormat)
Parameters:numberingFormatListNumberingFormat

The numbering format.

Implements: IDocumentEditor.ChangeDocumentFootnotesNumberingFormat(ListNumberingFormat)

Changes the type of numbering restart of the endnotes in the document.

C#
public void ChangeDocumentFootnotesNumberingRestartType(NumberingRestartType numberingRestartType)
Parameters:numberingRestartTypeNumberingRestartType

The type of restart for the numbering.

Implements: IDocumentEditor.ChangeDocumentFootnotesNumberingRestartType(NumberingRestartType)

Changes the position of the footnotes in the document.

C#
public void ChangeDocumentFootnotesPosition(FootnotesPosition footnotesPosition)
Parameters:footnotesPositionFootnotesPosition

The footnotes position.

Implements: IDocumentEditor.ChangeDocumentFootnotesPosition(FootnotesPosition)

Sets a value determining whether the strict line breaking rule will be applied to Japanese text in this document.

C#
public void ChangeDocumentIsStrictLineBreakingRuleEnabled(bool value)
Parameters:valuebool

if set to true, the strict line breaking rule will be applied.

Implements: IDocumentEditor.ChangeDocumentIsStrictLineBreakingRuleEnabled(bool)

Sets the language whose rules should be used for line breaking in the paragraphs.

C#
public void ChangeDocumentLineBreakingRuleLanguage(LineBreakingRuleLanguage lineBreakingRuleLanguage)
Parameters:lineBreakingRuleLanguageLineBreakingRuleLanguage

The line breaking rule language.

Implements: IDocumentEditor.ChangeDocumentLineBreakingRuleLanguage(LineBreakingRuleLanguage)

Sets a rule determining which characters cannot end a line in East-Asian languages.

C#
public void ChangeDocumentNoLineBreaksAfterRule(LineBreakingRule lineBreakingCharacterRule)
Parameters:lineBreakingCharacterRuleLineBreakingRule

The line breaking character rule.

Implements: IDocumentEditor.ChangeDocumentNoLineBreaksAfterRule(LineBreakingRule)

Sets a rule determining which characters cannot start a line in East-Asian languages.

C#
public void ChangeDocumentNoLineBreaksBeforeRule(LineBreakingRule lineBreakingCharacterRule)
Parameters:lineBreakingCharacterRuleLineBreakingRule

The rule.

Implements: IDocumentEditor.ChangeDocumentNoLineBreaksBeforeRule(LineBreakingRule)

Changes the display mode of a field.

C#
public void ChangeFieldDisplayMode(FieldRangeStart fieldRangeStart, FieldDisplayMode displayMode)
Parameters:fieldRangeStartFieldRangeStart

The field start.

displayModeFieldDisplayMode

The new display mode.

Implements: IDocumentEditor.ChangeFieldDisplayMode(FieldRangeStart, FieldDisplayMode)

Changes the font family of the selected content.

C#
public void ChangeFontFamily(FontFamily fontFamily)
Parameters:fontFamilyFontFamily

The font family to be applied.

Implements: IDocumentEditor.ChangeFontFamily(FontFamily)

Changes the size of the font of the selected content.

C#
public void ChangeFontSize(double newFontSize)
Parameters:newFontSizedouble

Size of the font.

Implements: IDocumentEditor.ChangeFontSize(double)

Changes the font style of the selected content.

C#
public void ChangeFontStyle(FontStyle fontStyle)
Parameters:fontStyleFontStyle

The font style.

Implements: IDocumentEditor.ChangeFontStyle(FontStyle)

Changes the font weight of the selected content. If selection is not present, the current editing style is updated.

C#
public void ChangeFontWeight(FontWeight fontWeight)
Parameters:fontWeightFontWeight

The font weight.

Implements: IDocumentEditor.ChangeFontWeight(FontWeight)

Changes the rotate angle of an image.

C#
public void ChangeImageRotateAngle(ImageInline image, double angle)
Parameters:imageImageInline

The ImageInline.

angledouble

The new angle.

Implements: IDocumentEditor.ChangeImageRotateAngle(ImageInline, double)

Changes the size of an image.

C#
public void ChangeImageSize(ImageInline image, Size size)
Parameters:imageImageInline

The ImageInline whose size should be changed.

sizeSize

The new size.

Implements: IDocumentEditor.ChangeImageSize(ImageInline, Size)

Changes the layout mode.

C#
public void ChangeLayoutMode(DocumentLayoutMode layoutMode)
Parameters:layoutModeDocumentLayoutMode

The new layout mode to be applied.

Changes the restart type of line numberings for the selected sections.

C#
public void ChangeLineNumberingRestartType(LineNumberingRestartType restartType)
Parameters:restartTypeLineNumberingRestartType

The line numbering restart type.

Implements: IDocumentEditor.ChangeLineNumberingRestartType(LineNumberingRestartType)

Changes the style of the list in the RadRichTextBox.

C#
public void ChangeListStyle(ListStyle style)
Parameters:styleListStyle

The new ListStyle to be applied to the list.

Changes the automatic spacing after of the selected paragraphs.

C#
public void ChangeParagraphAutomaticSpacingAfter(bool value)
Parameters:valuebool

If set to true, the automatic spacing after will be enabled.

Implements: IDocumentEditor.ChangeParagraphAutomaticSpacingAfter(bool)

Changes the automatic spacing before of the selected paragraphs.

C#
public void ChangeParagraphAutomaticSpacingBefore(bool value)
Parameters:valuebool

If set to true, the automatic spacing before will be enabled.

Implements: IDocumentEditor.ChangeParagraphAutomaticSpacingBefore(bool)

Changes the background of the selected paragraphs.

C#
public void ChangeParagraphBackground(Color color)
Parameters:colorColor

The color.

Implements: IDocumentEditor.ChangeParagraphBackground(Color)

Changes the first line indent of the selected paragraphs.

C#
public void ChangeParagraphFirstLineIndent(double firstLineIndent)
Parameters:firstLineIndentdouble

The first line indent.

Implements: IDocumentEditor.ChangeParagraphFirstLineIndent(double)

Changes the flow direction of the selected paragraphs.

C#
public void ChangeParagraphFlowDirection(FlowDirection flowDirection)
Parameters:flowDirectionFlowDirection

The flow direction.

Implements: IDocumentEditor.ChangeParagraphFlowDirection(FlowDirection)

Changes the IsLineBreakingRuleEnabled property. This property indicates whether East Asian typography rules will be applied to determine which characters may begin and end each line.

C#
public void ChangeParagraphIsLineBreakingRuleEnabled(bool value)
Parameters:valuebool

If set to true, East Asian typography rules will be applied to determine which characters may begin and end each line.

Implements: IDocumentEditor.ChangeParagraphIsLineBreakingRuleEnabled(bool)

Changes the left indent of the selected paragraphs.

C#
public void ChangeParagraphLeftIndent(double leftIndent)
Parameters:leftIndentdouble

The left indent.

Implements: IDocumentEditor.ChangeParagraphLeftIndent(double)

Changes the line spacing of the selected paragraphs.

C#
public void ChangeParagraphLineSpacing(double lineSpacing, LineSpacingType lineSpacingType)
Parameters:lineSpacingdouble

The line spacing.

lineSpacingTypeLineSpacingType

Type of the line spacing.

Implements: IDocumentEditor.ChangeParagraphLineSpacing(double, LineSpacingType)

Changes the line spacing of the selected paragraphs.

C#
public void ChangeParagraphLineSpacing(double lineSpacing)
Parameters:lineSpacingdouble

The line spacing.

Implements: IDocumentEditor.ChangeParagraphLineSpacing(double)

Changes the type of the line spacing of the selected paragraphs.

C#
public void ChangeParagraphLineSpacingType(LineSpacingType lineSpacingType)
Parameters:lineSpacingTypeLineSpacingType

Type of the line spacing.

Implements: IDocumentEditor.ChangeParagraphLineSpacingType(LineSpacingType)

Changes the list level of the selected paragraphs.

C#
public void ChangeParagraphListLevel(int listLevel)
Parameters:listLevelint

The list level.

Implements: IDocumentEditor.ChangeParagraphListLevel(int)

Changes the right indent of the selected paragraphs.

C#
public void ChangeParagraphRightIndent(double rightIndent)
Parameters:rightIndentdouble

The right indent.

Implements: IDocumentEditor.ChangeParagraphRightIndent(double)

Changes the spacing after of the selected paragraphs.

C#
public void ChangeParagraphSpacingAfter(double spacingAfter)
Parameters:spacingAfterdouble

The spacing after.

Implements: IDocumentEditor.ChangeParagraphSpacingAfter(double)

Changes the spacing before of the selected paragraphs.

C#
public void ChangeParagraphSpacingBefore(double spacingBefore)
Parameters:spacingBeforedouble

The spacing before.

Implements: IDocumentEditor.ChangeParagraphSpacingBefore(double)

Changes the paragraph style of the selected content.

C#
public void ChangeParagraphStyle(StyleDefinition styleInfo)
Parameters:styleInfoStyleDefinition

The style information.

Implements: IDocumentEditor.ChangeParagraphStyle(StyleDefinition)

Changes a value that indicates whether shape's text box element will rotate when the shape is rotated.

C#
public void ChangeRotateTextWithShape(ShapeInline shape, bool shouldRotate)
Parameters:shapeShapeInline

The ShapeInline.

shouldRotatebool

The new value that indicates text box element rotation behavior.

Implements: IDocumentEditor.ChangeRotateTextWithShape(ShapeInline, bool)

Changes the page margin of the selected sections respecting their current orientation.

C#
public void ChangeSectionActualPageMargin(Padding sectionMargin)
Parameters:sectionMarginPadding

The margin.

Implements: IDocumentEditor.ChangeSectionActualPageMargin(Padding)

Changes the section columns for the selected sections.

C#
public void ChangeSectionColumns(SectionColumnCollection sectionColumns)
Parameters:sectionColumnsSectionColumnCollection

The section columns.

Implements: IDocumentEditor.ChangeSectionColumns(SectionColumnCollection)

Changes the section columns for a given collection of Section elements.

C#
public void ChangeSectionColumns(SectionColumnsLayout sectionColumnsLayout)
Parameters:sectionColumnsLayoutSectionColumnsLayout

The section columns layout.

Implements: IDocumentEditor.ChangeSectionColumns(SectionColumnsLayout)

Changes the first number of the endnotes in the selected sections.

C#
public void ChangeSectionEndnotesFirstNumber(int firstNumber)
Parameters:firstNumberint

The first number.

Implements: IDocumentEditor.ChangeSectionEndnotesFirstNumber(int)

Changes the numbering format of the endnotes in the selected sections.

C#
public void ChangeSectionEndnotesNumberingFormat(ListNumberingFormat numberingFormat)
Parameters:numberingFormatListNumberingFormat

The numbering format.

Implements: IDocumentEditor.ChangeSectionEndnotesNumberingFormat(ListNumberingFormat)

Changes the type of numbering restart of the endnotes in the selected sections.

C#
public void ChangeSectionEndnotesNumberingRestartType(NumberingRestartType numberingRestartType)
Parameters:numberingRestartTypeNumberingRestartType

The type of restart for the numbering.

Implements: IDocumentEditor.ChangeSectionEndnotesNumberingRestartType(NumberingRestartType)

Changes the first page number of the selected sections.

C#
public void ChangeSectionFirstPageNumber(int? firstPageNumber)
Parameters:firstPageNumberint?

The first page number.

Implements: IDocumentEditor.ChangeSectionFirstPageNumber(int?)

Changes the footer bottom margin of the selected sections.

C#
public void ChangeSectionFooterBottomMargin(int sectionFooterBottomMargin)
Parameters:sectionFooterBottomMarginint

The section footer bottom margin.

Implements: IDocumentEditor.ChangeSectionFooterBottomMargin(int)

Changes the value indicating whether the section footer should be linked to the footer of the previous section.

C#
public void ChangeSectionFooterLinkToPrevious(Section section, HeaderFooterType footerType, bool value)
Parameters:sectionSection

The section.

footerTypeHeaderFooterType

Type of the footer.

valuebool

true if the footer should be linked.

Implements: IDocumentEditor.ChangeSectionFooterLinkToPrevious(Section, HeaderFooterType, bool)

Changes the first number of the footnotes in the selected sections.

C#
public void ChangeSectionFootnotesFirstNumber(int firstNumber)
Parameters:firstNumberint

The first number.

Implements: IDocumentEditor.ChangeSectionFootnotesFirstNumber(int)

Changes the numbering format of the footnotes in the selected sections.

C#
public void ChangeSectionFootnotesNumberingFormat(ListNumberingFormat numberingFormat)
Parameters:numberingFormatListNumberingFormat

The numbering format.

Implements: IDocumentEditor.ChangeSectionFootnotesNumberingFormat(ListNumberingFormat)

Changes the type of numbering restart of the footnotes in the selected sections.

C#
public void ChangeSectionFootnotesNumberingRestartType(NumberingRestartType numberingRestartType)
Parameters:numberingRestartTypeNumberingRestartType

The type of restart for the numbering.

Implements: IDocumentEditor.ChangeSectionFootnotesNumberingRestartType(NumberingRestartType)

Changes the value indicating whether the section header should be linked to the header of the previous section.

C#
public void ChangeSectionHeaderLinkToPrevious(Section section, HeaderFooterType headerType, bool value)
Parameters:sectionSection

The section.

headerTypeHeaderFooterType

Type of the header.

valuebool

true if the header should be linked.

Implements: IDocumentEditor.ChangeSectionHeaderLinkToPrevious(Section, HeaderFooterType, bool)

Changes the header top margin of the selected sections.

C#
public void ChangeSectionHeaderTopMargin(int sectionHeaderTopMargin)
Parameters:sectionHeaderTopMarginint

The section header top margin.

Implements: IDocumentEditor.ChangeSectionHeaderTopMargin(int)

Changes the line numberings for the selected sections.

C#
public void ChangeSectionLineNumbering(LineNumbering lineNumbering)
Parameters:lineNumberingLineNumbering

The line numbering.

Implements: IDocumentEditor.ChangeSectionLineNumbering(LineNumbering)

Changes the page margin of the selected sections.

C#
public void ChangeSectionPageMargin(Padding sectionMargin)
Parameters:sectionMarginPadding

The margin.

Implements: IDocumentEditor.ChangeSectionPageMargin(Padding)

Changes the page orientation of the selected sections.

C#
public void ChangeSectionPageOrientation(PageOrientation sectionPageOrientation)
Parameters:sectionPageOrientationPageOrientation

The page orientation.

Implements: IDocumentEditor.ChangeSectionPageOrientation(PageOrientation)

Changes the page size of the selected sections.

C#
public void ChangeSectionPageSize(Size newSize)
Parameters:newSizeSize

The new size. You can use the PaperTypes enumeration to get the desired size from the predefined values.

Implements: IDocumentEditor.ChangeSectionPageSize(Size)

Changes a value that indicates whether the parent shape should be horizontally resized in accordance to the text box element's width.

C#
public void ChangeShapeAutoFitToText(ShapeInline shape, bool shouldAutoFit)
Parameters:shapeShapeInline

The ShapeInline.

shouldAutoFitbool

The new value that indicates text box element wrap behavior.

Implements: IDocumentEditor.ChangeShapeAutoFitToText(ShapeInline, bool)

Changes the fill of a shape.

C#
public void ChangeShapeFill(ShapeInline shape, IShapeFill fill)
Parameters:shapeShapeInline

The ShapeInline.

fillIShapeFill

The new fill.

Implements: IDocumentEditor.ChangeShapeFill(ShapeInline, IShapeFill)

Changes the dashing pattern of a shape outline.

C#
public void ChangeShapeOutlineDash(ShapeInline shape, LineDashType dash)
Parameters:shapeShapeInline

The ShapeInline.

dashLineDashType

The new dashing pattern.

Implements: IDocumentEditor.ChangeShapeOutlineDash(ShapeInline, LineDashType)

Changes the fill of a shape outline.

C#
public void ChangeShapeOutlineFill(ShapeInline shape, IShapeOutlineFill fill)
Parameters:shapeShapeInline

The ShapeInline.

fillIShapeOutlineFill

The new fill.

Implements: IDocumentEditor.ChangeShapeOutlineFill(ShapeInline, IShapeOutlineFill)

Changes the width of a shape outline.

C#
public void ChangeShapeOutlineWidth(ShapeInline shape, double width)
Parameters:shapeShapeInline

The ShapeInline.

widthdouble

The new outline width.

Implements: IDocumentEditor.ChangeShapeOutlineWidth(ShapeInline, double)

Changes the rotate angle of a shape.

C#
public void ChangeShapeRotateAngle(ShapeInline shape, double angle)
Parameters:shapeShapeInline

The ShapeInline.

angledouble

The new angle.

Implements: IDocumentEditor.ChangeShapeRotateAngle(ShapeInline, double)

Changes the size of a shape.

C#
public void ChangeShapeSize(ShapeInline shape, Size size)
Parameters:shapeShapeInline

The ShapeInline whose size should be changed.

sizeSize

The new size.

Implements: IDocumentEditor.ChangeShapeSize(ShapeInline, Size)

Changes the bottom margin (inset) of the shape's text box element.

C#
public void ChangeShapeTextBottomMargin(ShapeInline shape, double margin)
Parameters:shapeShapeInline

The ShapeInline.

margindouble

The new bottom margin.

Implements: IDocumentEditor.ChangeShapeTextBottomMargin(ShapeInline, double)

Changes the fill of a shape's text.

C#
public void ChangeShapeTextFill(ShapeInline shape, IShapeFill fill)
Parameters:shapeShapeInline

The ShapeInline.

fillIShapeFill

The new fill.

Implements: IDocumentEditor.ChangeShapeTextFill(ShapeInline, IShapeFill)

Changes the left margin (inset) of the shape's text box element.

C#
public void ChangeShapeTextLeftMargin(ShapeInline shape, double margin)
Parameters:shapeShapeInline

The ShapeInline.

margindouble

The new left margin.

Implements: IDocumentEditor.ChangeShapeTextLeftMargin(ShapeInline, double)

Changes the dash of a shape's text outline dash.

C#
public void ChangeShapeTextOutlineDash(ShapeInline shape, LineDashType dash)
Parameters:shapeShapeInline

The ShapeInline which is modified.

dashLineDashType

The new dashing pattern.

Implements: IDocumentEditor.ChangeShapeTextOutlineDash(ShapeInline, LineDashType)

Changes the fill of a shape's text outline.

C#
public void ChangeShapeTextOutlineFill(ShapeInline shape, IShapeOutlineFill fill)
Parameters:shapeShapeInline

The ShapeInline.

fillIShapeOutlineFill

The new fill.

Implements: IDocumentEditor.ChangeShapeTextOutlineFill(ShapeInline, IShapeOutlineFill)

Changes the width of a shape's outline width.

C#
public void ChangeShapeTextOutlineWidth(ShapeInline shape, double width)
Parameters:shapeShapeInline

The ShapeInline which is modified.

widthdouble

The new width value.

Implements: IDocumentEditor.ChangeShapeTextOutlineWidth(ShapeInline, double)

Changes the right margin (inset) of the shape's text box element.

C#
public void ChangeShapeTextRightMargin(ShapeInline shape, double margin)
Parameters:shapeShapeInline

The ShapeInline.

margindouble

The new right margin.

Implements: IDocumentEditor.ChangeShapeTextRightMargin(ShapeInline, double)

Changes the rotation angle of the shape's text box element.

C#
public void ChangeShapeTextRotation(ShapeInline shape, TextRotation rotation)
Parameters:shapeShapeInline

The ShapeInline.

rotationTextRotation

The new rotation angle (in degrees).

Implements: IDocumentEditor.ChangeShapeTextRotation(ShapeInline, TextRotation)

Changes the top margin (inset) of the shape's text box element.

C#
public void ChangeShapeTextTopMargin(ShapeInline shape, double margin)
Parameters:shapeShapeInline

The ShapeInline.

margindouble

The new top margin.

Implements: IDocumentEditor.ChangeShapeTextTopMargin(ShapeInline, double)

Changes the vertical alignment of a shape text box element.

C#
public void ChangeShapeTextVerticalAlignment(ShapeInline shape, RadVerticalAlignment alignment)
Parameters:shapeShapeInline

The ShapeInline.

alignmentRadVerticalAlignment

The new vertical alignment.

Implements: IDocumentEditor.ChangeShapeTextVerticalAlignment(ShapeInline, RadVerticalAlignment)

Changes a value that indicates whether shape's text box element should wrap text vertically.

C#
public void ChangeShapeTextWrap(ShapeInline shape, bool shouldWrap)
Parameters:shapeShapeInline

The ShapeInline.

shouldWrapbool

The new value that indicates text box element wrap behavior.

Implements: IDocumentEditor.ChangeShapeTextWrap(ShapeInline, bool)

Changes the span style of the selected content.

C#
public void ChangeSpanStyle(StyleDefinition styleInfo)
Parameters:styleInfoStyleDefinition

The style information.

Implements: IDocumentEditor.ChangeSpanStyle(StyleDefinition)

Changes the strike-through of the selected content.

C#
public void ChangeStrikethrough(bool isStrikethrough)
Parameters:isStrikethroughbool

If set to true, a strike-through will be applied to the selected content.

Implements: IDocumentEditor.ChangeStrikethrough(bool)

Applies style with a given name to the selected elements in the document.

C#
public void ChangeStyleName(string styleName, bool useLinkedStyle)
Parameters:styleNamestring

Name of the style.

useLinkedStylebool

If true, the linked style may be used depending on the selection.

Implements: IDocumentEditor.ChangeStyleName(string, bool)

Applies style with a given name to the selected elements in the document.

C#
public void ChangeStyleName(string styleName)
Parameters:styleNamestring

Name of the style to be applied.

Implements: IDocumentEditor.ChangeStyleName(string)

Changes the borders of the selected tables.

C#
public void ChangeTableBorders(TableBorders tableBorders)
Parameters:tableBordersTableBorders

The table borders.

Implements: IDocumentEditor.ChangeTableBorders(TableBorders)

Changes the background of the selected table cells.

C#
public void ChangeTableCellBackground(Color color)
Parameters:colorColor

The color.

Implements: IDocumentEditor.ChangeTableCellBackground(Color)

Changes the borders of the selected table cells.

C#
public void ChangeTableCellBorders(Border tableCellBorders)
Parameters:tableCellBordersBorder

The border which will be used for all table cell borders.

Implements: IDocumentEditor.ChangeTableCellBorders(Border)

Changes the borders of the selected table cells.

C#
public void ChangeTableCellBorders(TableCellBorders tableCellBorders)
Parameters:tableCellBordersTableCellBorders

The table cell borders.

Implements: IDocumentEditor.ChangeTableCellBorders(TableCellBorders)

Changes the content alignment of the selected table cells.

C#
public void ChangeTableCellContentAlignment(RadTextAlignment textAlignment, RadVerticalAlignment verticalAlignment)
Parameters:textAlignmentRadTextAlignment

The text alignment.

verticalAlignmentRadVerticalAlignment

The vertical alignment.

Implements: IDocumentEditor.ChangeTableCellContentAlignment(RadTextAlignment, RadVerticalAlignment)

Changes the horizontal content alignment of the selected table cells.

C#
public void ChangeTableCellHorizontalContentAlignment(RadTextAlignment textAlignment)
Parameters:textAlignmentRadTextAlignment

The alignment.

Implements: IDocumentEditor.ChangeTableCellHorizontalContentAlignment(RadTextAlignment)

Changes the padding of the selected table cells.

C#
public void ChangeTableCellPadding(Padding padding)
Parameters:paddingPadding

The padding.

Implements: IDocumentEditor.ChangeTableCellPadding(Padding)

Changes the cell spacing of the selected tables.

C#
public void ChangeTableCellSpacing(double cellSpacing)
Parameters:cellSpacingdouble

The cell spacing.

Implements: IDocumentEditor.ChangeTableCellSpacing(double)

Changes the vertical content alignment of the selected table cells.

C#
public void ChangeTableCellVerticalContentAlignment(RadVerticalAlignment verticalAlignment)
Parameters:verticalAlignmentRadVerticalAlignment

The alignment.

Implements: IDocumentEditor.ChangeTableCellVerticalContentAlignment(RadVerticalAlignment)

Changes the default cell padding of the selected tables.

C#
public void ChangeTableDefaultCellPadding(Padding padding)
Parameters:paddingPadding

The padding which will be used as a default value.

Implements: IDocumentEditor.ChangeTableDefaultCellPadding(Padding)

Changes the flow direction of the selected tables.

C#
public void ChangeTableFlowDirection(FlowDirection flowDirection)
Parameters:flowDirectionFlowDirection

The flow direction.

Implements: IDocumentEditor.ChangeTableFlowDirection(FlowDirection)

Changes the width of a table column.

C#
public void ChangeTableGridColumnWidth(Table table, int columnIndex, TableWidthUnit width)
Parameters:tableTable

The table.

columnIndexint

The index of the column.

widthTableWidthUnit

The new value for the column width. If the type of the width is not specified, Fixed will be used.

Implements: IDocumentEditor.ChangeTableGridColumnWidth(Table, int, TableWidthUnit)

Changes the horizontal alignment of the selected tables.

C#
public void ChangeTableHorizontalAlignment(RadHorizontalAlignment alignment)
Parameters:alignmentRadHorizontalAlignment

The alignment.

Implements: IDocumentEditor.ChangeTableHorizontalAlignment(RadHorizontalAlignment)

Changes the indent of the selected tables.

C#
public void ChangeTableIndent(double indent)
Parameters:indentdouble

The indent.

Implements: IDocumentEditor.ChangeTableIndent(double)

Changes the layout mode of the selected tables.

C#
public void ChangeTableLayoutMode(Table table, TableLayoutMode tableLayoutMode)
Parameters:tableTable

The table.

tableLayoutModeTableLayoutMode

The table layout mode.

Implements: IDocumentEditor.ChangeTableLayoutMode(Table, TableLayoutMode)

Changes the look of the selected tables.

The look of a table defines the components of the conditional formatting which will be applied to it.

C#
public void ChangeTableLook(TableLook tableLook)
Parameters:tableLookTableLook

The table look.

Implements: IDocumentEditor.ChangeTableLook(TableLook)

Changes the preferred width of the selected tables.

C#
public void ChangeTablePreferredWidth(TableWidthUnit tableWidth)
Parameters:tableWidthTableWidthUnit

Width of the table.

Implements: IDocumentEditor.ChangeTablePreferredWidth(TableWidthUnit)

Changes the height of a table row.

C#
public void ChangeTableRowHeight(TableRow tableRow, double height)
Parameters:tableRowTableRow

The table row.

heightdouble

The height.

Implements: IDocumentEditor.ChangeTableRowHeight(TableRow, double)

Depending on the current value, enables or disables the repetition of a table row on every page.

C#
public void ChangeTableRowRepeatOnEveryPage(TableRow tableRow)
Parameters:tableRowTableRow

The table row.

Implements: IDocumentEditor.ChangeTableRowRepeatOnEveryPage(TableRow)

Changes the text alignment of the current run in the document.

C#
public void ChangeTextAlignment(RadTextAlignment alignment)
Parameters:alignmentRadTextAlignment

The new text alignment to be applied.

Changes the text foreground color of the current run in the document.

C#
public void ChangeTextForeColor(Color newColor)
Parameters:newColorColor

The new foreground color to be applied.

Changes the text highligh color of the current run in the document.

C#
public void ChangeTextHighlightColor(Color newColor)
Parameters:newColorColor

The new highlight color to be applied.

Changes the underline color of the selected content.

C#
public void ChangeUnderlineColor(Color newColor)
Parameters:newColorColor

The color.

Implements: IDocumentEditor.ChangeUnderlineColor(Color)

Changes the underline decoration of the selected content.

C#
public void ChangeUnderlineDecoration(IUnderlineUIDecorationProvider decoration)
Parameters:decorationIUnderlineUIDecorationProvider

The value.

Implements: IDocumentEditor.ChangeUnderlineDecoration(IUnderlineUIDecorationProvider)

Clears all the formatting (character and paragraph) from the selected content.

C#
public void ClearAllFormatting()

Implements: IDocumentEditor.ClearAllFormatting()

Clears the character formatting of the selected content.

C#
public void ClearFormatting()

Implements: IDocumentEditor.ClearFormatting()

Clears the tab stops inside the selected paragraphs.

C#
public void ClearTabStops()

Implements: IDocumentEditor.ClearTabStops()

Removes all paragraphs from the current list and continues the first possible list before that paragraph. The paragraph must be in a list and should be first in the list, otherwise this method does nothing.

C#
public bool ContinueListNumbering()
Returns:

bool

A boolean value indicating whether the operation completed successfully.

Implements: IDocumentEditor.ContinueListNumbering()

Copies the currently selected document elements into the clipboard.

C#
public void Copy()

Implements: IDocumentEditor.Copy()

Copies the formatting of the current selection.

C#
public bool CopyFormatting()
Returns:

bool

A value indicating whether the copy was successful.

Implements: IDocumentEditor.CopyFormatting()

Cuts the currently selected document elements into the clipboard.

C#
public void Cut()

Implements: IDocumentEditor.Cut()

Decrements the size of the font of the selected content with 2 points.

C#
public void DecrementFontSize()

Implements: IDocumentEditor.DecrementFontSize()

Decrements the left indent of the current paragraph.

C#
public void DecrementParagraphLeftIndent()

Implements: IDocumentEditor.DecrementParagraphLeftIndent()

Decrements the list level the paragraph is currently in by 1.

C#
public void DecrementParagraphListLevel()

Deletes content from the document. If the Selection is not empty, deletes the selected content. Otherwise, deletes the character next to the CaretPosition.

C#
public void Delete(bool deletePrevious)
Parameters:deletePreviousbool

If the selection is empty, indicates whether to delete the character before or after the caret.

Deletes all comments in the document.

C#
public void DeleteAllComments()

Implements: IDocumentEditor.DeleteAllComments()

Deletes an annotation range.

C#
public void DeleteAnnotationRange(AnnotationRangeStart rangeStart)
Parameters:rangeStartAnnotationRangeStart

The start of the range that will be deleted.

Implements: IDocumentEditor.DeleteAnnotationRange(AnnotationRangeStart)

Deletes a bookmark.

C#
public void DeleteBookmark(BookmarkRangeStart bookmarkRangeStart)
Parameters:bookmarkRangeStartBookmarkRangeStart

The bookmark range start.

Implements: IDocumentEditor.DeleteBookmark(BookmarkRangeStart)

Deletes a bookmark.

C#
public void DeleteBookmark(string bookmarkName)
Parameters:bookmarkNamestring

Name of the bookmark.

Implements: IDocumentEditor.DeleteBookmark(string)

Deletes a code block.

C#
public void DeleteCodeBlock(CodeAnnotationRangeStart rangeStart)
Parameters:rangeStartCodeAnnotationRangeStart

The CodeAnnotationRangeStart of the block to delete.

Implements: IDocumentEditor.DeleteCodeBlock(CodeAnnotationRangeStart)

Deletes the current comment.

C#
public void DeleteComment()

Implements: IDocumentEditor.DeleteComment()

Deletes a comment.

C#
public void DeleteComment(CommentRangeStart commentRangeStart)
Parameters:commentRangeStartCommentRangeStart

The comment range start.

Implements: IDocumentEditor.DeleteComment(CommentRangeStart)

Deletes a permission range.

C#
public void DeletePermissionRange(PermissionRangeStart permissionRangeStart)
Parameters:permissionRangeStartPermissionRangeStart

The permission range start.

Implements: IDocumentEditor.DeletePermissionRange(PermissionRangeStart)

Deletes the read only range at the current caret position or inside the current selection.

C#
public void DeleteReadOnlyRange()

Implements: IDocumentEditor.DeleteReadOnlyRange()

Deletes read only range.

C#
public void DeleteReadOnlyRange(ReadOnlyRangeStart readOnlyRangeStart)
Parameters:readOnlyRangeStartReadOnlyRangeStart

The read only range that is to be deleted.

Implements: IDocumentEditor.DeleteReadOnlyRange(ReadOnlyRangeStart)

Deletes the table the current caret position is in.

C#
public void DeleteTable()

Implements: IDocumentEditor.DeleteTable()

Deletes a table.

C#
public void DeleteTable(Table table)
Parameters:tableTable

The Table to delete.

Implements: IDocumentEditor.DeleteTable(Table)

Deletes the current table column which is under the caret position.

C#
public void DeleteTableColumn()

Implements: IDocumentEditor.DeleteTableColumn()

Deletes the table row under the caret position.

C#
public void DeleteTableRow()

Implements: IDocumentEditor.DeleteTableRow()

Deletes a table row.

C#
public void DeleteTableRow(TableRow row)
Parameters:rowTableRow

The TableRow to delete.

Implements: IDocumentEditor.DeleteTableRow(TableRow)

Disables the watermark feature in the RadRichTextBox.

C#
public void DisableWatermark()

Edits the list style of the RadRichTextBox in a dialog.

C#
public void EditListStyleInDialog(ListStyle listStyle)
Parameters:listStyleListStyle

The ListStyle object that defines the new style for the list.

Initiates editing of a shape's text box element.

C#
public void EditShapeTextBox(ShapeInline shape)
Parameters:shapeShapeInline

The ShapeInline.

Implements: IDocumentEditor.EditShapeTextBox(ShapeInline)

Closes current undo group.

C#
public void EndUndoGroup()

Implements: IDocumentEditor.EndUndoGroup()

Closes currently started undo-able group, started with BeginUndoGroup(), and adds an action in the document history.

C#
public void EndUndoGroup(string groupDisplayText)
Parameters:groupDisplayTextstring

Implements: IDocumentEditor.EndUndoGroup(string)

Ensures control template is applied and ensures ActiveEditorPresenter is initialized to its default value.

C#
public bool EnsureActiveEditorPresenter()
Returns:

bool

Whether the ActiveEditorPresenter has been created as a result of this method call.

Sets the keyboard focus to the RadRichTextBox control.

C#
public void Focus()

Focuses the footer of the current page.

C#
public void FocusFooter()

Focuses the header of the current page.

C#
public void FocusHeader()

Retrieves the appearance settings for a specified comment in the RadRichTextBox.

C#
public CommentAppearanceSettings GetApperanceSettingsForComment(Comment comment)
Parameters:commentComment

The comment for which to retrieve the appearance settings.

Returns:

CommentAppearanceSettings

Returns the appearance settings associated with the specified comment.

Implements: IDocumentEditorPresenterContainer.GetApperanceSettingsForComment(Comment)

Gets the content in various formats.

C#
public string GetContent(string format)
Parameters:formatstring

The format to export into.

Returns:

string

String representation of the content.

C#
protected virtual Type GetDocumentEditorPresenterTypeForDocument(RadDocument document)
Parameters:documentRadDocumentReturns:

Type

Retrieves statistical information about the content within the RadRichTextBox.

C#
public DocumentStatisticsInfo GetStatisticsInfo()
Returns:

DocumentStatisticsInfo

An object containing various statistical metrics such as word count, character count, and other relevant information related to the text content.

Moves current position to the next comment.

C#
public void GoToNextComment()

Moves current position to the next endnote.

C#
public void GoToNextEndnote()

Moves current position to the next footnote.

C#
public void GoToNextFootnote()

Moves current position to the next revision.

C#
public void GoToNextRevision()

Moves current position to the previous comment.

C#
public void GoToPreviousComment()

Moves current position to the previous endnote.

C#
public void GoToPreviousEndnote()

Moves current position to the previous footnote.

C#
public void GoToPreviousFootnote()

Moves current position to the previous revision.

C#
public void GoToPreviousRevision()

Determines whether the current user has edit permissions for the RadRichTextBox.

C#
public bool HasEditPermissions()
Returns:

bool

A boolean value indicating if the user has edit permissions. Returns true if the user has permission to edit; otherwise, false.

Implements: IDocumentEditor.HasEditPermissions()

Increments the size of the font of the selected content with 2 points.

C#
public void IncrementFontSize()

Implements: IDocumentEditor.IncrementFontSize()

Increments the left indent of the current paragraph.

C#
public void IncrementParagraphLeftIndent()

Implements: IDocumentEditor.IncrementParagraphLeftIndent()

Increments the paragraph list level of the selected paragraphs.

C#
public void IncrementParagraphListLevel()

Inserts text into the document at the current caret position.

C#
public void Insert(string text)
Parameters:textstring

The text to insert.

Inserts an annotation range.

C#
public void InsertAnnotationRange(AnnotationRangeStart rangeStart, AnnotationRangeEnd rangeEnd)
Parameters:rangeStartAnnotationRangeStart

The annotation range start.

rangeEndAnnotationRangeEnd

The annotation range end.

Implements: IDocumentEditor.InsertAnnotationRange(AnnotationRangeStart, AnnotationRangeEnd)

Inserts a bookmark around the current selection. If the selection is empty, the bookmark is inserted at the caret position.

C#
public void InsertBookmark(string bookmarkName)
Parameters:bookmarkNamestring

Name of the bookmark.

Implements: IDocumentEditor.InsertBookmark(string)

Inserts a caption around the current selection. If the selection is empty, the caption is inserted at the current caret position.

C#
public void InsertCaption(CaptionDefinition definition, string caption, bool includeLabel, bool insertBelow)
Parameters:definitionCaptionDefinition

The definition of the caption.

captionstring

The caption text to be used.

includeLabelbool

If set to true, the label is included in the caption.

insertBelowbool

If set to true, the caption is inserted after the current selection.

Implements: IDocumentEditor.InsertCaption(CaptionDefinition, string, bool, bool)

Inserts a code block at the caret position. If the caret position is in code block, replaces the current code block.

C#
public void InsertCodeBlock(string code, CodeFormattingSettings settings)
Parameters:codestring

The code to insert.

settingsCodeFormattingSettings

The settings which will be used for the code block.

Implements: IDocumentEditor.InsertCodeBlock(string, CodeFormattingSettings)

Inserts a column break into the document at the current caret position.

C#
public void InsertColumnBreak()

Implements: IDocumentEditor.InsertColumnBreak()

Inserts a comment around the current selection. If the selection is empty, the comment is inserted at the caret position.

C#
public void InsertComment(Comment comment)
Parameters:commentComment

The comment.

Implements: IDocumentEditor.InsertComment(Comment)

Inserts a cross-reference to a bookmark into the document at the current caret position.

C#
public void InsertCrossReferenceToBookmark(string bookmarkName, ReferenceContentType contentType, bool insertAsHyperlink)
Parameters:bookmarkNamestring

Name of the bookmark.

contentTypeReferenceContentType

Type of the content.

insertAsHyperlinkbool

If set to true, the cross-reference is inserted as a hyperlink.

Implements: IDocumentEditor.InsertCrossReferenceToBookmark(string, ReferenceContentType, bool)

Inserts a cross-reference to a caption into the document at the current caret position.

C#
public void InsertCrossReferenceToCaption(Paragraph captionParagraph, ReferenceContentType contentType, bool insertAsHyperlink)
Parameters:captionParagraphParagraph

The paragraph containing the caption sequence field.

contentTypeReferenceContentType

The reference content type. If the paragraph doesn't have applied a Caption style, the method will not be executed.

insertAsHyperlinkbool

A parameter indicating whether the cross-reference field should be a hyperlink.

Implements: IDocumentEditor.InsertCrossReferenceToCaption(Paragraph, ReferenceContentType, bool)

Inserts a cross-reference to a paragraph with Heading style into the document at the current caret position.

C#
public void InsertCrossReferenceToHeading(Paragraph headingParagraph, ReferenceContentType contentType, bool insertAsHyperlink)
Parameters:headingParagraphParagraph

The paragraph. If the paragraph doesn't have applied a Heading style, the method will not be executed.

contentTypeReferenceContentType

Type of the content.

insertAsHyperlinkbool

If set to true, the cross-reference is inserted as a hyperlink.

Implements: IDocumentEditor.InsertCrossReferenceToHeading(Paragraph, ReferenceContentType, bool)

Inserts endnote at the current position.

C#
public void InsertEndnote()

Implements: IDocumentEditor.InsertEndnote()

Inserts the endnote at the current position.

C#
public void InsertEndnote(Note endnote)
Parameters:endnoteNote

The endnote.

Implements: IDocumentEditor.InsertEndnote(Note)

Inserts a field into the document at the current caret position in a specified display mode.

C#
public bool InsertField(Field field, FieldDisplayMode displayMode)
Parameters:fieldField

The field.

displayModeFieldDisplayMode

The display mode.

Returns:

bool

True, if the operation completed successfully.

Implements: IDocumentEditor.InsertField(Field, FieldDisplayMode)

Inserts a field into the document at the current caret position.

C#
public bool InsertField(Field field)
Parameters:fieldField

The field.

Returns:

bool

True, if the operation completed successfully.

Implements: IDocumentEditor.InsertField(Field)

Inserts footnote at the current position.

C#
public void InsertFootnote()

Implements: IDocumentEditor.InsertFootnote()

Inserts the footnote at the current position.

C#
public void InsertFootnote(Note footnote)
Parameters:footnoteNote

The footnote.

Implements: IDocumentEditor.InsertFootnote(Note)

Inserts a fragment at a specified position. Document selection should be cleared in advance.

C#
public void InsertFragment(DocumentFragment documentFragment, DocumentPosition documentPosition)
Parameters:documentFragmentDocumentFragment

The fragment to insert.

documentPositionDocumentPosition

The document position to insert the fragment at.

Exceptions:

InvalidOperationException

Thrown when there is selection in the document.

ArgumentNullException

Thrown when documentFragment or documentPosition is null.

Implements: IDocumentEditor.InsertFragment(DocumentFragment, DocumentPosition)

Remarks:

Document selection should be cleared before calling this method, otherwise exception may be thrown.

Inserts a fragment at the current caret position.

C#
public void InsertFragment(DocumentFragment documentFragment)
Parameters:documentFragmentDocumentFragment

The fragment to insert.

Exceptions:

ArgumentNullException

Thrown when documentFragment is null.

Implements: IDocumentEditor.InsertFragment(DocumentFragment)

Inserts collection of inlines as hyperlink into the document.

C#
public void InsertHyperlink(HyperlinkInfo hyperlinkInfo, IEnumerable<Inline> inlines)
Parameters:hyperlinkInfoHyperlinkInfo

The hyperlink info.

inlinesIEnumerable<Inline>

The inlines.

Implements: IDocumentEditor.InsertHyperlink(HyperlinkInfo, IEnumerable<Inline>)

Inserts a hyperlink in the document.

C#
public void InsertHyperlink(HyperlinkInfo hyperlinkInfo, string hyperlinkText)
Parameters:hyperlinkInfoHyperlinkInfo

The hyperlink info.

hyperlinkTextstring

The hyperlink text.

Inserts a hyperlink in the document. The hyperlink will be created around the current selection.

C#
public void InsertHyperlink(HyperlinkInfo hyperlinkInfo)
Parameters:hyperlinkInfoHyperlinkInfo

The hyperlink info.

Implements: IDocumentEditor.InsertHyperlink(HyperlinkInfo)

Inserts an inline image into the document at the current caret position.

C#
public void InsertImage(Stream imageStream, string extension)
Parameters:imageStreamStream

The stream to the image's contents.

extensionstring

The extension specifying the image format.

Implements: IDocumentEditor.InsertImage(Stream, string)

Inserts inline element into the document at a specified caret position. Document selection should be cleared in advance.

C#
public void InsertInline(Inline inline, DocumentPosition documentPosition)
Parameters:inlineInline

The inline element to insert.

documentPositionDocumentPosition

The document position to insert the inline at.

Exceptions:

InvalidOperationException

Thrown when there is selection in the document.

ArgumentNullException

Thrown when inline or documentPosition is null.

Implements: IDocumentEditor.InsertInline(Inline, DocumentPosition)

Remarks:

Document selection should be cleared before calling this method, otherwise exception may be thrown.

Inserts inline element into the document at the current caret position.

C#
public void InsertInline(Inline inline)
Parameters:inlineInline

The inline element to insert.

Exceptions:

ArgumentNullException

Thrown when inline is null.

Implements: IDocumentEditor.InsertInline(Inline)

Inserts text at the current caret position and adds a new paragraph after it.

C#
public void InsertLine(string text)
Parameters:textstring

The text.

Implements: IDocumentEditor.InsertLine(string)

Inserts a line break into the document at the current caret position.

C#
public void InsertLineBreak()

Implements: IDocumentEditor.InsertLineBreak()

Inserts a non-breaking space into the document at the current caret position.

C#
public void InsertNonBreakingSpace()

Inserts a page break into the document at the current caret position.

C#
public void InsertPageBreak()

Implements: IDocumentEditor.InsertPageBreak()

Inserts a new paragraph at the current caret position.

C#
public void InsertParagraph()

Implements: IDocumentEditor.InsertParagraph()

Inserts a new permission range over the current selection. If the selection is empty, the permission range is inserted at the caret position.

C#
public void InsertPermissionRange(IEnumerable<PermissionRangeInfo> permissionInfos)
Parameters:permissionInfosIEnumerable<PermissionRangeInfo>

The permissions for the new range.

Implements: IDocumentEditor.InsertPermissionRange(IEnumerable<PermissionRangeInfo>)

Inserts a read only range over the current selection. If the selection is empty, the range is inserted at the caret position.

C#
public void InsertReadOnlyRange()

Implements: IDocumentEditor.InsertReadOnlyRange()

Inserts a section break into the document at the current caret position.

C#
public void InsertSectionBreak()

Implements: IDocumentEditor.InsertSectionBreak()

Inserts a section break of the specified type into the document at the current caret position.

C#
public void InsertSectionBreak(SectionBreakType sectionBreakType)
Parameters:sectionBreakTypeSectionBreakType

The type of the section break.

Implements: IDocumentEditor.InsertSectionBreak(SectionBreakType)

Inserts an inline shape into the document at the current caret position.

C#
public void InsertShape(ShapeType shapeType, Size size)
Parameters:shapeTypeShapeType

The type of shape.

sizeSize

Shape's initial size.

Implements: IDocumentEditor.InsertShape(ShapeType, Size)

Inserts a default structured document tag (Content Control). The default type is RichText.

C#
public void InsertStructuredDocumentTag()

Inserts a structured document tag (Content Control) based on the provided properties.

C#
public void InsertStructuredDocumentTag(SdtProperties insertProperties)
Parameters:insertPropertiesSdtProperties

Inserts a structured document tag (Content Control) of the given type.

C#
public void InsertStructuredDocumentTag(SdtType insertType)
Parameters:insertTypeSdtType

Inserts a new table in the document.

C#
public void InsertTable(int rows, int columns, bool shouldInsertParagraphBeforeTable)
Parameters:rowsint

Number of the rows in the table.

columnsint

Number of the columns in the table.

shouldInsertParagraphBeforeTablebool

if set to true, an additional empty paragraph is inserted before the table.

Inserts a new table in the document.

C#
public void InsertTable(int rows, int columns)
Parameters:rowsint

Number of the rows in the table.

columnsint

Number of the columns in the table.

Implements: IDocumentEditor.InsertTable(int, int)

Inserts the table.

C#
public void InsertTable(Table table, bool shouldInsertParagraphBeforeTable)
Parameters:tableTable

The table.

shouldInsertParagraphBeforeTablebool

if set to true, an additional empty paragraph is inserted before the table.

Remarks:

The Table instance inserted in the document is a cloning of the one passed for the table parameter. Making subsequent changes to the Table is not possible.

Inserts a table in the document.

Note: The Table instance inserted in the document is a cloning of the one passed for the table parameter. Making subsequent changes to the Table is not possible using the same object.

C#
public void InsertTable(Table table)
Parameters:tableTable

The table.

Implements: IDocumentEditor.InsertTable(Table)

Inserts a table column in the table which is under the caret position.

C#
public void InsertTableColumn()

Implements: IDocumentEditor.InsertTableColumn()

Inserts a table column to the left in the table which is under the caret position.

C#
public void InsertTableColumnToTheLeft()

Implements: IDocumentEditor.InsertTableColumnToTheLeft()

Inserts a table column to the right in the table which is under the caret position.

C#
public void InsertTableColumnToTheRight()

Implements: IDocumentEditor.InsertTableColumnToTheRight()

Inserts a new table row in the table under the caret position.

C#
public void InsertTableRow()

Implements: IDocumentEditor.InsertTableRow()

Inserts a table row above the one under the caret position.

C#
public void InsertTableRowAbove()

Implements: IDocumentEditor.InsertTableRowAbove()

Inserts a table row below the one under the caret position.

C#
public void InsertTableRowBelow()

Implements: IDocumentEditor.InsertTableRowBelow()

Inserts a placeholder text box element to the document. It comes with a default shape layout.

C#
public void InsertTextBox()

Implements: IDocumentEditor.InsertTextBox()

Forces the control to invalidate the layout of its child elements.

C#
public void InvalidateEditorLayout()

Clears the spell-checking state of all words in the document and updates the UI.

C#
public void InvalidateProofingErrors(bool invalidateIncorrectWordsOnly)
Parameters:invalidateIncorrectWordsOnlybool

True to invalidate incorrect word only.

Produces a mail merged document containing the results for all data records.

C#
public RadDocument MailMerge(bool startEachRecordOnNewPage = true)
Parameters:startEachRecordOnNewPagebool

true, if each record should start on a new page.

Returns:

RadDocument

The document containing the result of the operation.

Implements: IDocumentEditor.MailMerge(bool)

Creates a new RadDocument containing the result of merging the template with the values of the current data record.

C#
public RadDocument MailMergeCurrentRecord()
Returns:

RadDocument

The document.

Implements: IDocumentEditor.MailMergeCurrentRecord()

Merges the currently selected table cells into one.

C#
public void MergeTableCells()

Implements: IDocumentEditor.MergeTableCells()

Moves the current selection along with the selected document elements to a specified position.

C#
public void MoveSelection(DocumentPosition movePosition, bool deleteSelection)
Parameters:movePositionDocumentPosition

The start position where the selection should be moved to.

deleteSelectionbool

true, if the current selection and contained elements should be deleted on the original position.

Implements: IDocumentEditor.MoveSelection(DocumentPosition, bool)

Invoked whenever application of the instance's template is required.

C#
public override void OnApplyTemplate()
C#
protected virtual void OnCommandError(CommandErrorEventArgs args)
Parameters:argsCommandErrorEventArgs

Raises the event.

C#
protected virtual void OnCommandExecuted(CommandExecutedEventArgs e)
Parameters:eCommandExecutedEventArgs

The CommandExecutedEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnCommandExecuting(CommandExecutingEventArgs e)
Parameters:eCommandExecutingEventArgs

The CommandExecutingEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnCommentShowing(CommentShowingEventArgs e)
Parameters:eCommentShowingEventArgs

The CommentShowingEventArgs instance containing the event data.

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF)/Silverlight infrastructure.

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

C#
protected virtual void OnCurrentEditingStyleChanged()
C#
protected virtual void OnCurrentParagraphStyleChanged()
C#
protected virtual void OnCurrentSpanStyleChanged()
C#
protected virtual void OnCurrentVisiblePageChanged()
C#
protected virtual void OnDocumentArranged()
C#
protected virtual void OnDocumentChanged()
C#
protected virtual void OnDocumentChanging()
C#
protected virtual void OnDocumentContentChanged()
C#
protected virtual void OnDocumentLayoutModeChanged()
C#
protected virtual void OnDocumentPresentationChanged(PresentationChangedEventArgs e)
Parameters:ePresentationChangedEventArgs
C#
protected override void OnGotFocus(RoutedEventArgs e)
Parameters:eRoutedEventArgs
C#
protected virtual void OnHyperlinkClicked(object sender, HyperlinkClickedEventArgs eventArgs)
Parameters:senderobjecteventArgsHyperlinkClickedEventArgs

Raises the event.

C#
protected virtual void OnHyperlinkToolTipShowing(HyperlinkToolTipShowingEventArgs e)
Parameters:eHyperlinkToolTipShowingEventArgs

The HyperlinkToolTipShowingEventArgs instance containing the event data.

Raises the event. This method is invoked whenever is set to true internally.

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Raises the event.

C#
protected virtual void OnIsReadOnlyChanged(EventArgs e)
Parameters:eEventArgs

The EventArgs instance containing the event data.

C#
protected override void OnLostFocus(RoutedEventArgs e)
Parameters:eRoutedEventArgs
C#
protected virtual void OnMergeFieldToStringConverting(object sender, MergeFieldToStringConvertingEventArgs e)
Parameters:senderobjecteMergeFieldToStringConvertingEventArgs

Raises the event.

C#
protected virtual void OnNoteReferenceClicked(MouseButtonEventArgs args)
Parameters:argsMouseButtonEventArgs

The MouseButtonEventArgs instance containing the event data.

C#
protected virtual void OnPreviewEditorKeyDown(PreviewEditorKeyEventArgs e)
Parameters:ePreviewEditorKeyEventArgs

Raises the event.

C#
protected virtual void OnPrintCompleted(PrintCompletedEventArgs e)
Parameters:ePrintCompletedEventArgs

The PrintCompletedEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnPrintStarted(EventArgs e)
Parameters:eEventArgs

The EventArgs instance containing the event data.

C#
protected virtual void OnProtectionStateChanged()
C#
protected virtual void OnScaleFactorChanged()

Raises the event.

C#
protected virtual void OnSelectionChanged(EventArgs e)
Parameters:eEventArgs

The EventArgs instance containing the event data.

C#
protected virtual void OnStreamFromUriResolving(StreamFromUriResolvingEventArgs e)
Parameters:eStreamFromUriResolvingEventArgs

Raises the event.

C#
protected virtual void OnUntrackableCommandExecuting(UntrackableCommandExecutingEventArgs e)
Parameters:eUntrackableCommandExecutingEventArgs

The UntrackableCommandExecutingEventArgs instance containing the event data.

C#
protected virtual void OnUserInfoChanged()

Opens the context menu when the next spelling error is encountered.

C#
public void OpenContextMenuOnNextSpellingError()
Remarks:

This method is useful for providing users with quick access to spelling correction options during text editing in the RadRichTextBox control.

Pastes the content of the clipboard into the document.

C#
public void Paste()

Implements: IDocumentEditor.Paste()

Pastes the content of the clipboard into the document.

C#
public void Paste(PasteOption pasteOption)
Parameters:pasteOptionPasteOption

Implements: IDocumentEditor.Paste(PasteOption)

Pastes the currently copied formatting on the current selection.

C#
public bool PasteFormatting()
Returns:

bool

A value indicating whether the paste was successful.

Implements: IDocumentEditor.PasteFormatting()

Updates all fields in the document with the values evaluated using the first data record.

C#
public bool PreviewFirstMailMergeDataRecord()
Returns:

bool

True, if the operation completed successfully.

Implements: IDocumentEditor.PreviewFirstMailMergeDataRecord()

Updates all fields in the document with the values evaluated using the last data record.

C#
public bool PreviewLastMailMergeDataRecord()
Returns:

bool

True, if the operation completed successfully.

Implements: IDocumentEditor.PreviewLastMailMergeDataRecord()

Updates all fields in the document with the values evaluated using a specified data record.

C#
public bool PreviewMailMergeDataRecordAtIndex(int index)
Parameters:indexint

The index of the record to be shown.

Returns:

bool

True, if the operation completed successfully.

Implements: IDocumentEditor.PreviewMailMergeDataRecordAtIndex(int)

Updates all fields in the document with the values evaluated using the next data record.

C#
public bool PreviewNextMailMergeDataRecord()
Returns:

bool

True, if the operation completed successfully.

Implements: IDocumentEditor.PreviewNextMailMergeDataRecord()

Updates all fields in the document with the values evaluated using the previous data record.

C#
public bool PreviewPreviousMailMergeDataRecord()
Returns:

bool

True, if the operation completed successfully.

Implements: IDocumentEditor.PreviewPreviousMailMergeDataRecord()

Prints with the specified print dialog. The dialog should already be initialized.

C#
public void Print(PrintDialog printDialog, PrintSettings printSettings)
Parameters:printDialogPrintDialog

The print dialog.

printSettingsPrintSettings

The print settings.

C#
public void Print(PrintSettings printSettings)
Parameters:printSettingsPrintSettings

Initializes printing of the current document.

C#
public void Print(string documentName, PrintMode mode)
Parameters:documentNamestring

The name of the document to print.

modePrintMode

The printing mode.

Re-executes the last undone command group.

C#
public void Redo()

Implements: IDocumentEditor.Redo()

Registers a new command with the specified key and modifier keys for the RadRichTextBox.

C#
public static void RegisterCommand(RoutedCommand command, Key key, ModifierKeys modifierKeys = 0, object commandParameter = null)
Parameters:commandRoutedCommand

The command to be registered.

keyKey

The key associated with the command.

modifierKeysModifierKeys

The modifier keys that need to be held while pressing the key.

commandParameterobject

An optional parameter associated with the command.

Rejects all revisions in the document.

C#
public void RejectAllRevisions()

Implements: IDocumentEditor.RejectAllRevisions()

Rejects a revision.

C#
public void RejectRevision(Revision revision)
Parameters:revisionRevision

The revision.

Implements: IDocumentEditor.RejectRevision(Revision)

Removes the hyperlink on the caret position.

C#
public void RemoveHyperlink()

Removes a tab stop from the selected paragraphs.

C#
public void RemoveTabStop(TabStop tabStop)
Parameters:tabStopTabStop

The tab stop.

Implements: IDocumentEditor.RemoveTabStop(TabStop)

Removes a collection of tab stops in the selected paragraphs.

C#
public void RemoveTabStopRange(IEnumerable<TabStop> tabStops)
Parameters:tabStopsIEnumerable<TabStop>

The tab stops.

Implements: IDocumentEditor.RemoveTabStopRange(IEnumerable<TabStop>)

Replaces a tab stop inside the selected paragraphs.

C#
public void ReplaceTabStop(TabStop oldTabStop, TabStop newTabStop)
Parameters:oldTabStopTabStop

The old tab stop.

newTabStopTabStop

The new tab stop.

Implements: IDocumentEditor.ReplaceTabStop(TabStop, TabStop)

Changes the width of a table column. The specified width value will be applied with width type Fixed. You could specify different width type through the ChangeTableGridColumnWidth(Table, int, TableWidthUnit) method.

C#
public void ResizeTableColumn(Table table, int columnIndex, double columnWidth)
Parameters:tableTable

The table.

columnIndexint

The index of the column.

columnWidthdouble

The new value for the column width.

Implements: IDocumentEditor.ResizeTableColumn(Table, int, double)

Creates a new list from the current paragraph. The paragraph must be in a list, otherwise this method does nothing.

C#
public bool RestartListNumbering()
Returns:

bool

A boolean value determining whether the operation completed successfully.

Implements: IDocumentEditor.RestartListNumbering()

Scrolls the contents of RadRichTextBox to the specified horizontal offset.

C#
public void ScrollToHorizontalOffset(double offset)
Parameters:offsetdouble

Scrolls the viewport so that a note becomes visible.

C#
public void ScrollToNote(Note note)
Parameters:noteNote

The note.

Implements: IDocumentEditorPresenterContainer.ScrollToNote(Note)

Scrolls the contents of RadRichTextBox to the specified vertical offset.

C#
public void ScrollToVerticalOffset(double offset)
Parameters:offsetdouble

Sets the selected comment for the RadRichTextBox based on the provided CommentRangeStart.

C#
public void SetSelectedComment(CommentRangeStart commentStart)
Parameters:commentStartCommentRangeStart

The CommentRangeStart that represents the beginning of the comment range to be set.

Sets the currently selected note in the RadRichTextBox.

C#
public void SetSelectedNote(Note note)
Parameters:noteNote

The note to be selected.

Sets a watermark to the selected sections.

C#
public void SetWatermark(DocumentWatermarkSettings watermarkSettings)
Parameters:watermarkSettingsDocumentWatermarkSettings

The watermark settings describing the watermark that will be applied.

Implements: IDocumentEditor.SetWatermark(DocumentWatermarkSettings)

Sets a predefined watermark to the selected sections.

C#
public void SetWatermark(PredefinedWatermarkType predefinedType)
Parameters:predefinedTypePredefinedWatermarkType

Type of the predefined watermark.

Implements: IDocumentEditor.SetWatermark(PredefinedWatermarkType)

Sets the watermark image for the RadRichTextBox control.

C#
public void SetWatermarkImage(WatermarkImageSettings settings)
Parameters:settingsWatermarkImageSettings

The settings that define the watermark image to be applied.

Sets the watermark text for the RadRichTextBox control.

C#
public void SetWatermarkText(WatermarkTextSettings settings)
Parameters:settingsWatermarkTextSettings

The settings that define the watermark text properties.

Shows the Add New Bibliographic Source Dialog.

C#
public void ShowAddNewBibliographicSourceDialog(string sourceName = null, bool insertFieldOnClose = true, Action<BibliographicSource> callBackOnClosed = null)
Parameters:sourceNamestringinsertFieldOnCloseboolcallBackOnClosedAction<BibliographicSource>

Shows the dialog for changing editing permissions.

C#
public void ShowChangeEditingPermissionsDialog()

Shows the dialog for code formatting.

C#
public void ShowCodeFormattingDialog()

Displays the context menu at the specified document position within the RadRichTextBox.

C#
public void ShowContextMenuAtDocumentPosition(DocumentPosition position)
Parameters:positionDocumentPosition

The document position where the context menu should be shown.

Displays the context menu at the specified document position within the RadRichTextBox.

C#
public void ShowContextMenuAtDocumentPosition(Point proposedLocation, DocumentPosition position)
Parameters:proposedLocationPoint

The screen coordinates where the context menu should appear.

positionDocumentPosition

The position in the document at which the context menu is related.

Shows dialog for creating new list style.

C#
public void ShowDefineNewListStyleDialog()

Shows the dialog for editing custom spellchecking dictionaries.

C#
public void ShowEditCustomDictionaryDialog()

Shows the find replace dialog.

C#
public virtual void ShowFindReplaceDialog()

Shows the floating block properties dialog.

C#
public void ShowFloatingBlockPropertiesDialog()

Shows the font properties dialog.

C#
public void ShowFontPropertiesDialog()

Shows the image editor dialog.

C#
public void ShowImageEditorDialog()

Shows the image editor dialog.

C#
public void ShowImageEditorDialog(string executeToolName)
Parameters:executeToolNamestring

Name of the tool to execute when the dialog is opened.

Shows the insert caption dialog.

C#
public void ShowInsertCaptionDialog()

Shows the insert cross reference window.

C#
public void ShowInsertCrossReferenceWindow()

Shows the insert date field dialog.

C#
public void ShowInsertDateTimeDialog()

Shows the insert hyperlink dialog.

C#
public void ShowInsertHyperlinkDialog()

Show the insert symbol dialog.

C#
public void ShowInsertSymbolWindow()

Shows the insert table dialog.

C#
public void ShowInsertTableDialog()

Shows the insert Table of Contents window.

C#
public void ShowInsertTableOfContentsDialog()

Show the line numbers dialog.

C#
public void ShowLineNumberingDialog()

Shows the Manage Bibliographic Sources Dialog.

C#
public void ShowManageBibliographicSourcesDialog()

Shows the dialog for managing bookmarks.

C#
public void ShowManageBookmarksDialog()

Shows the dialog for managing styles.

C#
public void ShowManageStylesDialog()

Shows the notes dialog.

C#
public void ShowNotesDialog()

Shows the paragraph properties dialog.

C#
public void ShowParagraphPropertiesDialog()

Shows the dialog for enforcing document protection.

C#
public void ShowProtectDocumentDialog()

Show the sections columns dialog.

C#
public void ShowSectionColumnsDialog()

Shows the Set Numbering Value Dialog.

C#
public void ShowSetNumberingValueDialog()

Shows the spell checking dialog.

C#
public void ShowSpellCheckingDialog()

Shows the dialog for adding new style.

C#
public void ShowStyleFormattingPropertiesDialog()

Shows the dialog for modifying style formatting.

C#
public void ShowStyleFormattingPropertiesDialog(StyleDefinition styleDefinition)
Parameters:styleDefinitionStyleDefinition

Shows the style formatting properties dialog.

C#
public void ShowStyleFormattingPropertiesDialog(StyleFormattingPropertiesDialogSettings settings)
Parameters:settingsStyleFormattingPropertiesDialogSettings

The settings.

Shows the table borders dialog.

C#
public void ShowTableBordersDialog()

Shows the table properties dialog.

C#
public void ShowTablePropertiesDialog()

Shows the dialog for editing tab stops.

C#
public void ShowTabStopsPropertiesDialog()

Shows the dialog for removing document protection.

C#
public void ShowUnprotectDocumentDialog()

Shows the watermark settings dialog.

C#
public void ShowWatermarkSettingsDialog()

Splits an annotation range at the specified position, resulting in two new ranges.

C#
public void SplitAnnotationRange(AnnotationRangeStart rangeStart, DocumentPosition position)
Parameters:rangeStartAnnotationRangeStart

The annotation range start to be split.

positionDocumentPosition

The position where the range start should be split.

Implements: IDocumentEditor.SplitAnnotationRange(AnnotationRangeStart, DocumentPosition)

Splits an annotation range at the caret position, resulting in two new ranges.

C#
public void SplitAnnotationRange(AnnotationRangeStart rangeStart)
Parameters:rangeStartAnnotationRangeStart

The annotation range start to be split.

Implements: IDocumentEditor.SplitAnnotationRange(AnnotationRangeStart)

Suppress the line numbering for selected paragraphs.

C#
public void SuppressLineNumberingForCurrentParagraph(IEnumerable<Paragraph> paragraphs)
Parameters:paragraphsIEnumerable<Paragraph>

Implements: IDocumentEditor.SuppressLineNumberingForCurrentParagraph(IEnumerable<Paragraph>)

Toggles the font weight of the selected content between and .

C#
public void ToggleBold()

Implements: IDocumentEditor.ToggleBold()

Toggles the visibility of the bookmarks in the document.

C#
public void ToggleBookmarks()

Toggles the visibility of the comments in the document.

C#
public void ToggleComments()

Toggles the visibility of the different first page header and footer in the RadRichTextBox.

C#
public void ToggleDifferentFirstPageHeaderFooter()

Toggles the visibility of different headers and footers for odd and even pages in the RadRichTextBox.

C#
public void ToggleDifferentOddAndEvenPagesHeaderFooter()

Toggles the display mode of a field.

C#
public void ToggleFieldCodes(FieldRangeStart fieldStart)
Parameters:fieldStartFieldRangeStart

The field start.

Implements: IDocumentEditor.ToggleFieldCodes(FieldRangeStart)

Toggles the visibility of the formatting symbols in the document.

C#
public void ToggleFormattingSymbols()

Toggles the headers/footers editing mode.

C#
public void ToggleHeaderFooterEditingMode()

Toggles the font style of the selected content between and .

C#
public void ToggleItalic()

Implements: IDocumentEditor.ToggleItalic()

Toggles the highlighting of merge fields in the RadRichTextBox control.

C#
public void ToggleMergeFieldsHighlight()

Toggles the subscript state of the current run in the document.

C#
public void ToggleStrikethrough()

Implements: IDocumentEditor.ToggleStrikethrough()

Toggles the subscript state of the current run in the document.

C#
public void ToggleSubscript()

Changes the superscript state of the current run in the document.

C#
public void ToggleSuperscript()

Toggles the underline state of the current run in the document.

C#
public void ToggleUnderline()

Reverts the last executed command group.

C#
public void Undo()

Implements: IDocumentEditor.Undo()

Splits the currently selected table cell.

C#
public void UnmergeTableCells()

Implements: IDocumentEditor.UnmergeTableCells()

Updates all captions in the document related to a caption definition.

C#
public void UpdateAllCaptions(CaptionDefinition captionDefinition)
Parameters:captionDefinitionCaptionDefinition

The caption definition.

Implements: IDocumentEditor.UpdateAllCaptions(CaptionDefinition)

Updates all fields in the document.

C#
public void UpdateAllFields()

Implements: IDocumentEditor.UpdateAllFields()

Updates all fields in the document and displays them in the specified display mode.

C#
public void UpdateAllFields(FieldDisplayMode displayMode)
Parameters:displayModeFieldDisplayMode

The display mode which will be used for the fields.

Implements: IDocumentEditor.UpdateAllFields(FieldDisplayMode)

Forces the control to update its layout and UI;

C#
public void UpdateEditorLayout()

Implements: IDocumentEditorPresenterContainer.UpdateEditorLayout()

Forces the control to update its layout and UI.

C#
public void UpdateEditorLayout(bool async)
Parameters:asyncbool

False to execute the update immediately. Otherwise it will be executed with slight delay using Dispatcher Timer for performance reasons.

Updates a field.

C#
public void UpdateField(FieldRangeStart fieldStart)
Parameters:fieldStartFieldRangeStart

The field start.

Implements: IDocumentEditor.UpdateField(FieldRangeStart)

Updates the footer for a section.

C#
public void UpdateFooter(Section section, HeaderFooterType footerType, Footer footer)
Parameters:sectionSection

The section of the footer.

footerTypeHeaderFooterType

Type of the footer.

footerFooter

The footer.

Updates the header for a section.

C#
public void UpdateHeader(Section section, HeaderFooterType headerType, Header header)
Parameters:sectionSection

The section of the header.

headerTypeHeaderFooterType

Type of the header.

headerHeader

The header.

Events

Occurs when active document editor changes.

C#
public event EventHandler<ActiveDocumentEditorChangedEventArgs> ActiveDocumentEditorChanged

Occurs on error while executing command.

C#
public event EventHandler<CommandErrorEventArgs> CommandError

Occurs after the execution of RichTextBoxCommandBase.

C#
public event EventHandler<CommandExecutedEventArgs> CommandExecuted

Occurs before the execution of RichTextBoxCommandBase.

C#
public event EventHandler<CommandExecutingEventArgs> CommandExecuting

Occurs when showing comment.

C#
public event EventHandler<CommentShowingEventArgs> CommentShowing

Occurs when the current editing style has changed.

C#
public event EventHandler CurrentEditingStyleChanged

Occurs when the current paragraph's style has changed.

C#
public event EventHandler CurrentParagraphStyleChanged

Occurs when the current span's style has changed.

C#
public event EventHandler CurrentSpanStyleChanged

Occurs when the CurrentPage property value has changed.

C#
public event EventHandler CurrentVisiblePageChanged

Occurs when the current document has been arranged.

C#
public event EventHandler DocumentArranged

Occurs when the current document has changed.

C#
public event EventHandler DocumentChanged

Occurs when the current document is changing.

C#
public event EventHandler DocumentChanging

Occurs when the content of the current document has changed.

C#
public event EventHandler DocumentContentChanged

Occurs when the layout mode of the current document has changed.

C#
public event EventHandler DocumentLayoutModeChanged
C#
public event EventHandler<PresentationChangedEventArgs> DocumentPresentationChanged

Occurs when the users clicks on a hyperlink in the current document.

C#
public event EventHandler<HyperlinkClickedEventArgs> HyperlinkClicked

Occurs when showing the tooltip of a hyperlink hovered in the document.

C#
public event EventHandler<HyperlinkToolTipShowingEventArgs> HyperlinkToolTipShowing

Occurs when IsReadOnly property changes.

C#
public event EventHandler IsReadOnlyChanged

Occurs when MergeField is going to calculate its value. If MergeFieldToStringConvertingEventArgs.ConvertedValue is set it became a result string value.

C#
public event EventHandler<MergeFieldToStringConvertingEventArgs> MergeFieldToStringConverting
C#
public event PreviewEditorKeyEventHandler PreviewEditorKeyDown

Occurs when print is completed.

C#
public event EventHandler<PrintCompletedEventArgs> PrintCompleted

Occurs when printing has started.

C#
public event EventHandler PrintStarted

Occurs when the current protection state has changed.

C#
public event EventHandler ProtectionStateChanged

Implements: IDocumentEditorPresenterContainer.ProtectionStateChanged

Occurs when the ScaleFactor property value has changed.

C#
public event EventHandler ScaleFactorChanged

Implements: IDocumentEditorPresenterContainer.ScaleFactorChanged

Occurs when currently selected layout box has changed.

C#
public event EventHandler<SelectedLayoutBoxChangedEventArgs> SelectedLayoutBoxChanged

Occurs when selection is changed.

C#
public event EventHandler SelectionChanged
C#
public event EventHandler<StreamFromUriResolvingEventArgs> StreamFromUriResolving

Occurs when executing command that does not support track changes and track changes are enabled.

C#
public event EventHandler<UntrackableCommandExecutingEventArgs> UntrackableCommandExecuting

Occurs when the current user info has changed.

C#
public event EventHandler UserInfoChanged
In this article
DefinitionConstructorsRadRichTextBox()FieldsAcceptsReturnPropertyAcceptsTabPropertyAllowScalingPropertyCaretColorPropertyCaretWidthScaleFactorPropertyCommandsPropertyCommentTemplateContentMarginPropertyCurrentUserPropertyDocumentInheritsDefaultStyleSettingsPropertyEnforcedPermissionRangeBrushPropertyHasValidationErrorsPropertyHorizontalScrollBarNameHorizontalScrollBarVisibilityPropertyHyperlinkNavigationModePropertyHyperlinkToolTipFormatStringPropertyIsAdvancedSelectionEnabledPropertyIsContextMenuEnabledPropertyIsFocusablePropertyIsImageMiniToolBarEnabledPropertyIsInPagedLayoutModePropertyIsPasteOptionsPopupEnabledPropertyIsReadOnlyPropertyIsSelectionEnabledPropertyIsSelectionMiniToolBarEnabledPropertyIsSpellCheckingEnabledPropertyIsTrackChangesEnabledPropertyLayoutModePropertyLineBreakingRuleLanguagePropertyMaxScaleFactorMeasuringPanelNameMinScaleFactorMouseOverBorderThicknessPropertyPrintingScreenNameProtectionAuthenticationProviderPropertyScaleFactorPropertySelectionFillPropertySelectionStrokePropertyShowCommentsPropertyShowFormattingSymbolsPropertyShowMergeFieldsHighlightPropertyVerticalScrollBarNameVerticalScrollBarVisibilityPropertyViewContentPresenterPropertiesAcceptsReturnAcceptsTabActiveDocumentEditorActiveEditorPresenterAddNewBibliographicSourceDialogAllowScalingAutoInsertHyperlinksCaretColorCaretFactoryCaretWidthScaleFactorChangeEditingPermissionsDialogCheckBoxPropertiesDialogCodeFormattingDialogCommandsCommentPaneMinWidthCommentTemplateContentMarginContextMenuCurrentEditingContextCurrentEditingStyleCurrentPasteContextCurrentUserCurrentVisiblePageDatePickerPropertiesDialogDefaultInputBindingsDefaultStyleSettingsDefaultTextRenderingModeDocumentDocumentInheritsDefaultStyleSettingsDropDownListPropertiesDialogEditCustomDictionaryDialogEmailPatternEnforcedPermissionRangeBrushFieldShadingModeFindReplaceDialogFloatingBlockPropertiesDialogFontPropertiesDialogHorizontalOffsetHorizontalScrollBarHorizontalScrollBarVisibilityHyperlinkNavigationModeHyperlinkPatternHyperlinkToolTipFormatStringIgnoredWordsImageEditorDialogImageMiniToolBarImageSelectionAdornerSettingsInputHandlerInsertCaptionDialogInsertCrossReferenceWindowInsertDateTimeDialogInsertHyperlinkDialogInsertSymbolWindowInsertTableDialogInsertTableOfContentsDialogIsAdvancedSelectionEnabledIsContextMenuEnabledIsFocusableIsImageMiniToolBarEnabledIsInHeaderFooterEditModeIsPasteOptionsPopupEnabledIsReadOnlyIsSelectionEnabledIsSelectionMiniToolBarEnabledIsSpellCheckingEnabledIsTouchEnabledIsTrackChangesEnabledLayoutModeLineBreakingRuleLanguageLineNumberingDialogManageBibliographicSourcesDialogManageBookmarksDialogManageStylesDialogMentionContextNotesDialogParagraphPropertiesDialogPasteOptionsPopupPasteSettingsPicturePropertiesDialogPlainTextPropertiesDialogProtectDocumentDialogProtectionAuthenticationProviderRegisteredApplicationCommandsRepeatingSectionPropertiesDialogRichTextPropertiesDialogScaleFactorScrollableHeightScrollableWidthSectionColumnsDialogSelectedCommentSelectedNoteSelectionFillSelectionMiniToolBarSelectionStrokeSetNumberingValueDialogShowCommentsShowFormattingSymbolsShowMergeFieldsHighlightSpellCheckerSpellCheckingDialogStyleFormattingPropertiesDialogTableBordersDialogTablePropertiesDialogTabStopsPropertiesDialogTextRenderingModeTrackChangesOptionsUILayersBuilderUnprotectDocumentDialogUsePreviousVersionOfMicrosoftImeUsersVerticalOffsetVerticalScrollBarVerticalScrollBarVisibilityViewportHeightViewportWidthWatermarkSettingsDialogMethodsAcceptAllRevisions()AcceptRevision(Revision)AddShapeTextBox(ShapeInline)AddTabStop(TabStop)AddTabStopRange(IEnumerable<TabStop>)BeginUndoGroup()CancelUndoGroup()CanCopyFormatting()ChangeAllFieldsDisplayMode(FieldDisplayMode)ChangeBaselineAlignment(BaselineAlignment)ChangeBibliographicStyle(BibliographicReferenceStyleBase)ChangeDifferentFirstPageHeaderFooter(bool)ChangeDifferentOddAndEvenPagesHeaderFooter(bool)ChangeDocumentDefaultTabWidth(double)ChangeDocumentElementTag(DocumentElement, string)ChangeDocumentEndnotesFirstNumber(int)ChangeDocumentEndnotesNumberingFormat(ListNumberingFormat)ChangeDocumentEndnotesNumberingRestartType(NumberingRestartType)ChangeDocumentEndnotesPosition(EndnotesPosition)ChangeDocumentFootnotesFirstNumber(int)ChangeDocumentFootnotesNumberingFormat(ListNumberingFormat)ChangeDocumentFootnotesNumberingRestartType(NumberingRestartType)ChangeDocumentFootnotesPosition(FootnotesPosition)ChangeDocumentIsStrictLineBreakingRuleEnabled(bool)ChangeDocumentLineBreakingRuleLanguage(LineBreakingRuleLanguage)ChangeDocumentNoLineBreaksAfterRule(LineBreakingRule)ChangeDocumentNoLineBreaksBeforeRule(LineBreakingRule)ChangeFieldDisplayMode(FieldRangeStart, FieldDisplayMode)ChangeFontFamily(FontFamily)ChangeFontSize(double)ChangeFontStyle(FontStyle)ChangeFontWeight(FontWeight)ChangeImageRotateAngle(ImageInline, double)ChangeImageSize(ImageInline, Size)ChangeLayoutMode(DocumentLayoutMode)ChangeLineNumberingRestartType(LineNumberingRestartType)ChangeListStyle(ListStyle)ChangeParagraphAutomaticSpacingAfter(bool)ChangeParagraphAutomaticSpacingBefore(bool)ChangeParagraphBackground(Color)ChangeParagraphFirstLineIndent(double)ChangeParagraphFlowDirection(FlowDirection)ChangeParagraphIsLineBreakingRuleEnabled(bool)ChangeParagraphLeftIndent(double)ChangeParagraphLineSpacing(double, LineSpacingType)ChangeParagraphLineSpacing(double)ChangeParagraphLineSpacingType(LineSpacingType)ChangeParagraphListLevel(int)ChangeParagraphRightIndent(double)ChangeParagraphSpacingAfter(double)ChangeParagraphSpacingBefore(double)ChangeParagraphStyle(StyleDefinition)ChangeRotateTextWithShape(ShapeInline, bool)ChangeSectionActualPageMargin(Padding)ChangeSectionColumns(SectionColumnCollection)ChangeSectionColumns(SectionColumnsLayout)ChangeSectionEndnotesFirstNumber(int)ChangeSectionEndnotesNumberingFormat(ListNumberingFormat)ChangeSectionEndnotesNumberingRestartType(NumberingRestartType)ChangeSectionFirstPageNumber(int?)ChangeSectionFooterBottomMargin(int)ChangeSectionFooterLinkToPrevious(Section, HeaderFooterType, bool)ChangeSectionFootnotesFirstNumber(int)ChangeSectionFootnotesNumberingFormat(ListNumberingFormat)ChangeSectionFootnotesNumberingRestartType(NumberingRestartType)ChangeSectionHeaderLinkToPrevious(Section, HeaderFooterType, bool)ChangeSectionHeaderTopMargin(int)ChangeSectionLineNumbering(LineNumbering)ChangeSectionPageMargin(Padding)ChangeSectionPageOrientation(PageOrientation)ChangeSectionPageSize(Size)ChangeShapeAutoFitToText(ShapeInline, bool)ChangeShapeFill(ShapeInline, IShapeFill)ChangeShapeOutlineDash(ShapeInline, LineDashType)ChangeShapeOutlineFill(ShapeInline, IShapeOutlineFill)ChangeShapeOutlineWidth(ShapeInline, double)ChangeShapeRotateAngle(ShapeInline, double)ChangeShapeSize(ShapeInline, Size)ChangeShapeTextBottomMargin(ShapeInline, double)ChangeShapeTextFill(ShapeInline, IShapeFill)ChangeShapeTextLeftMargin(ShapeInline, double)ChangeShapeTextOutlineDash(ShapeInline, LineDashType)ChangeShapeTextOutlineFill(ShapeInline, IShapeOutlineFill)ChangeShapeTextOutlineWidth(ShapeInline, double)ChangeShapeTextRightMargin(ShapeInline, double)ChangeShapeTextRotation(ShapeInline, TextRotation)ChangeShapeTextTopMargin(ShapeInline, double)ChangeShapeTextVerticalAlignment(ShapeInline, RadVerticalAlignment)ChangeShapeTextWrap(ShapeInline, bool)ChangeSpanStyle(StyleDefinition)ChangeStrikethrough(bool)ChangeStyleName(string, bool)ChangeStyleName(string)ChangeTableBorders(TableBorders)ChangeTableCellBackground(Color)ChangeTableCellBorders(Border)ChangeTableCellBorders(TableCellBorders)ChangeTableCellContentAlignment(RadTextAlignment, RadVerticalAlignment)ChangeTableCellHorizontalContentAlignment(RadTextAlignment)ChangeTableCellPadding(Padding)ChangeTableCellSpacing(double)ChangeTableCellVerticalContentAlignment(RadVerticalAlignment)ChangeTableDefaultCellPadding(Padding)ChangeTableFlowDirection(FlowDirection)ChangeTableGridColumnWidth(Table, int, TableWidthUnit)ChangeTableHorizontalAlignment(RadHorizontalAlignment)ChangeTableIndent(double)ChangeTableLayoutMode(Table, TableLayoutMode)ChangeTableLook(TableLook)ChangeTablePreferredWidth(TableWidthUnit)ChangeTableRowHeight(TableRow, double)ChangeTableRowRepeatOnEveryPage(TableRow)ChangeTextAlignment(RadTextAlignment)ChangeTextForeColor(Color)ChangeTextHighlightColor(Color)ChangeUnderlineColor(Color)ChangeUnderlineDecoration(IUnderlineUIDecorationProvider)ClearAllFormatting()ClearFormatting()ClearTabStops()ContinueListNumbering()Copy()CopyFormatting()Cut()DecrementFontSize()DecrementParagraphLeftIndent()DecrementParagraphListLevel()Delete(bool)DeleteAllComments()DeleteAnnotationRange(AnnotationRangeStart)DeleteBookmark(BookmarkRangeStart)DeleteBookmark(string)DeleteCodeBlock(CodeAnnotationRangeStart)DeleteComment()DeleteComment(CommentRangeStart)DeletePermissionRange(PermissionRangeStart)DeleteReadOnlyRange()DeleteReadOnlyRange(ReadOnlyRangeStart)DeleteTable()DeleteTable(Table)DeleteTableColumn()DeleteTableRow()DeleteTableRow(TableRow)DisableWatermark()EditListStyleInDialog(ListStyle)EditShapeTextBox(ShapeInline)EndUndoGroup()EndUndoGroup(string)EnsureActiveEditorPresenter()Focus()FocusFooter()FocusHeader()GetApperanceSettingsForComment(Comment)GetContent(string)GetDocumentEditorPresenterTypeForDocument(RadDocument)GetStatisticsInfo()GoToNextComment()GoToNextEndnote()GoToNextFootnote()GoToNextRevision()GoToPreviousComment()GoToPreviousEndnote()GoToPreviousFootnote()GoToPreviousRevision()HasEditPermissions()IncrementFontSize()IncrementParagraphLeftIndent()IncrementParagraphListLevel()Insert(string)InsertAnnotationRange(AnnotationRangeStart, AnnotationRangeEnd)InsertBookmark(string)InsertCaption(CaptionDefinition, string, bool, bool)InsertCodeBlock(string, CodeFormattingSettings)InsertColumnBreak()InsertComment(Comment)InsertCrossReferenceToBookmark(string, ReferenceContentType, bool)InsertCrossReferenceToCaption(Paragraph, ReferenceContentType, bool)InsertCrossReferenceToHeading(Paragraph, ReferenceContentType, bool)InsertEndnote()InsertEndnote(Note)InsertField(Field, FieldDisplayMode)InsertField(Field)InsertFootnote()InsertFootnote(Note)InsertFragment(DocumentFragment, DocumentPosition)InsertFragment(DocumentFragment)InsertHyperlink(HyperlinkInfo, IEnumerable<Inline>)InsertHyperlink(HyperlinkInfo, string)InsertHyperlink(HyperlinkInfo)InsertImage(Stream, string)InsertInline(Inline, DocumentPosition)InsertInline(Inline)InsertLine(string)InsertLineBreak()InsertNonBreakingSpace()InsertPageBreak()InsertParagraph()InsertPermissionRange(IEnumerable<PermissionRangeInfo>)InsertReadOnlyRange()InsertSectionBreak()InsertSectionBreak(SectionBreakType)InsertShape(ShapeType, Size)InsertStructuredDocumentTag()InsertStructuredDocumentTag(SdtProperties)InsertStructuredDocumentTag(SdtType)InsertTable(int, int, bool)InsertTable(int, int)InsertTable(Table, bool)InsertTable(Table)InsertTableColumn()InsertTableColumnToTheLeft()InsertTableColumnToTheRight()InsertTableRow()InsertTableRowAbove()InsertTableRowBelow()InsertTextBox()InvalidateEditorLayout()InvalidateProofingErrors(bool)MailMerge(bool)MailMergeCurrentRecord()MergeTableCells()MoveSelection(DocumentPosition, bool)OnApplyTemplate()OnCommandError(CommandErrorEventArgs)OnCommandExecuted(CommandExecutedEventArgs)OnCommandExecuting(CommandExecutingEventArgs)OnCommentShowing(CommentShowingEventArgs)OnCreateAutomationPeer()OnCurrentEditingStyleChanged()OnCurrentParagraphStyleChanged()OnCurrentSpanStyleChanged()OnCurrentVisiblePageChanged()OnDocumentArranged()OnDocumentChanged()OnDocumentChanging()OnDocumentContentChanged()OnDocumentLayoutModeChanged()OnDocumentPresentationChanged(PresentationChangedEventArgs)OnGotFocus(RoutedEventArgs)OnHyperlinkClicked(object, HyperlinkClickedEventArgs)OnHyperlinkToolTipShowing(HyperlinkToolTipShowingEventArgs)OnInitialized(EventArgs)OnIsReadOnlyChanged(EventArgs)OnLostFocus(RoutedEventArgs)OnMergeFieldToStringConverting(object, MergeFieldToStringConvertingEventArgs)OnNoteReferenceClicked(MouseButtonEventArgs)OnPreviewEditorKeyDown(PreviewEditorKeyEventArgs)OnPrintCompleted(PrintCompletedEventArgs)OnPrintStarted(EventArgs)OnProtectionStateChanged()OnScaleFactorChanged()OnSelectionChanged(EventArgs)OnStreamFromUriResolving(StreamFromUriResolvingEventArgs)OnUntrackableCommandExecuting(UntrackableCommandExecutingEventArgs)OnUserInfoChanged()OpenContextMenuOnNextSpellingError()Paste()Paste(PasteOption)PasteFormatting()PreviewFirstMailMergeDataRecord()PreviewLastMailMergeDataRecord()PreviewMailMergeDataRecordAtIndex(int)PreviewNextMailMergeDataRecord()PreviewPreviousMailMergeDataRecord()Print(PrintDialog, PrintSettings)Print(PrintSettings)Print(string, PrintMode)Redo()RegisterCommand(RoutedCommand, Key, ModifierKeys, object)RejectAllRevisions()RejectRevision(Revision)RemoveHyperlink()RemoveTabStop(TabStop)RemoveTabStopRange(IEnumerable<TabStop>)ReplaceTabStop(TabStop, TabStop)ResizeTableColumn(Table, int, double)RestartListNumbering()ScrollToHorizontalOffset(double)ScrollToNote(Note)ScrollToVerticalOffset(double)SetSelectedComment(CommentRangeStart)SetSelectedNote(Note)SetWatermark(DocumentWatermarkSettings)SetWatermark(PredefinedWatermarkType)SetWatermarkImage(WatermarkImageSettings)SetWatermarkText(WatermarkTextSettings)ShowAddNewBibliographicSourceDialog(string, bool, Action<BibliographicSource>)ShowChangeEditingPermissionsDialog()ShowCodeFormattingDialog()ShowContextMenuAtDocumentPosition(DocumentPosition)ShowContextMenuAtDocumentPosition(Point, DocumentPosition)ShowDefineNewListStyleDialog()ShowEditCustomDictionaryDialog()ShowFindReplaceDialog()ShowFloatingBlockPropertiesDialog()ShowFontPropertiesDialog()ShowImageEditorDialog()ShowImageEditorDialog(string)ShowInsertCaptionDialog()ShowInsertCrossReferenceWindow()ShowInsertDateTimeDialog()ShowInsertHyperlinkDialog()ShowInsertSymbolWindow()ShowInsertTableDialog()ShowInsertTableOfContentsDialog()ShowLineNumberingDialog()ShowManageBibliographicSourcesDialog()ShowManageBookmarksDialog()ShowManageStylesDialog()ShowNotesDialog()ShowParagraphPropertiesDialog()ShowProtectDocumentDialog()ShowSectionColumnsDialog()ShowSetNumberingValueDialog()ShowSpellCheckingDialog()ShowStyleFormattingPropertiesDialog()ShowStyleFormattingPropertiesDialog(StyleDefinition)ShowStyleFormattingPropertiesDialog(StyleFormattingPropertiesDialogSettings)ShowTableBordersDialog()ShowTablePropertiesDialog()ShowTabStopsPropertiesDialog()ShowUnprotectDocumentDialog()ShowWatermarkSettingsDialog()SplitAnnotationRange(AnnotationRangeStart, DocumentPosition)SplitAnnotationRange(AnnotationRangeStart)SuppressLineNumberingForCurrentParagraph(IEnumerable<Paragraph>)ToggleBold()ToggleBookmarks()ToggleComments()ToggleDifferentFirstPageHeaderFooter()ToggleDifferentOddAndEvenPagesHeaderFooter()ToggleFieldCodes(FieldRangeStart)ToggleFormattingSymbols()ToggleHeaderFooterEditingMode()ToggleItalic()ToggleMergeFieldsHighlight()ToggleStrikethrough()ToggleSubscript()ToggleSuperscript()ToggleUnderline()Undo()UnmergeTableCells()UpdateAllCaptions(CaptionDefinition)UpdateAllFields()UpdateAllFields(FieldDisplayMode)UpdateEditorLayout()UpdateEditorLayout(bool)UpdateField(FieldRangeStart)UpdateFooter(Section, HeaderFooterType, Footer)UpdateHeader(Section, HeaderFooterType, Header)EventsActiveDocumentEditorChangedCommandErrorCommandExecutedCommandExecutingCommentShowingCurrentEditingStyleChangedCurrentParagraphStyleChangedCurrentSpanStyleChangedCurrentVisiblePageChangedDocumentArrangedDocumentChangedDocumentChangingDocumentContentChangedDocumentLayoutModeChangedDocumentPresentationChangedHyperlinkClickedHyperlinkToolTipShowingIsReadOnlyChangedMergeFieldToStringConvertingPreviewEditorKeyDownPrintCompletedPrintStartedProtectionStateChangedScaleFactorChangedSelectedLayoutBoxChangedSelectionChangedStreamFromUriResolvingUntrackableCommandExecutingUserInfoChanged
Not finding the help you need?
Contact Support