The C1RichTextBox type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
C1RichTextBox |
Initializes a new instance of a C1RichTextBox.
|
Methods
| Name | Description | |
|---|---|---|
|
|
ApplyTemplate | (Inherited from Control.) |
|
|
Arrange |
Positions child elements and determines a size for a UIElement. Parent elements call this method from their ArrangeCore(Rect) implementation (or a WPF framework-level equivalent) to form a recursive layout update. This method constitutes the second pass of a layout update. (Inherited from UIElement.) |
|
|
ArrangeOverride |
When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class. (Inherited from FrameworkElement.) |
|
|
BeginInit | |
|
|
CaptureMouse |
Attempts to force capture of the mouse to this element. (Inherited from UIElement.) |
|
|
ChangeVisualStateCommon |
Updates the current visual state of the Common visual state group to match the object's properties.
|
|
|
ChangeVisualStateFocus |
Updates the current visual state of the Focus visual state group to match the object's properties.
|
|
|
ChangeVisualStateWritable |
Updates the current visual state of the Writable visual state group to match the object's properties.
|
|
|
CheckAccess | (Inherited from DependencyObject.) |
|
|
ClearValue |
Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. (Inherited from DependencyObject.) |
|
|
ClipboardCopy |
Copies the selection to the clipboard.
|
|
|
ClipboardCut |
Cuts the selection to the clipboard.
|
|
|
ClipboardPaste |
Pastes the current content of the clipboard.
|
|
|
EndInit | |
|
|
Equals | (Inherited from Object.) |
|
|
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
|
FindName |
Finds an element that has the provided identifier name. (Inherited from FrameworkElement.) |
|
|
Focus | (Inherited from Control.) |
|
|
FormatCopy |
Copies the format of the current selection to the format clipboard.
|
|
|
FormatPaste |
Applies the content of the format clipboard to the current selection.
|
|
|
GetAnimationBaseValue | (Inherited from DependencyObject.) |
|
|
GetElementFromPoint |
Returns the C1TextElement directly below a given point.
|
|
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
|
GetHtml |
Get the HTML content with the selected encoding.
|
|
|
GetPositionFromPoint |
Returns the closest text position to a given point in the document layout.
|
|
|
GetRectFromPosition |
Returns the Rect of screen coordinates for a given position.
|
|
|
GetTemplateChild | (Inherited from Control.) |
|
|
GetTextRange |
Gets a C1TextRange that represents a range in the current
Document.
|
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
|
GetValue |
Returns the current effective value of a dependency property on this instance of a DependencyObject. (Inherited from DependencyObject.) |
|
|
GoToPage |
Causes the editor to jump to a specified page number.
|
|
|
InvalidateArrange |
Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by UpdateLayout()()()(). (Inherited from UIElement.) |
|
|
InvalidateMeasure |
Invalidates the measurement state (layout) for the element. (Inherited from UIElement.) |
|
|
Measure |
Updates the DesiredSize of a UIElement. Parent elements call this method from their own MeasureCore(Size) implementations to form a recursive layout update. Calling this method constitutes the first pass (the "Measure" pass) of a layout update. (Inherited from UIElement.) |
|
|
MeasureOverride |
When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class. (Inherited from FrameworkElement.) |
|
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
|
OnApplyTemplate |
Builds the visual tree for the C1RichTextBox control when a new template is applied.
(Overrides FrameworkElement..::..OnApplyTemplate()()()().) |
|
|
OnCreateAutomationPeer |
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure. (Inherited from UIElement.) |
|
|
OnGotFocus | (Inherited from Control.) |
|
|
OnKeyDown | (Overrides ControlOnKeyDown(KeyEventArgs).) |
|
|
OnKeyUp | (Overrides ControlOnKeyUp(KeyEventArgs).) |
|
|
OnLostFocus | (Overrides ControlOnLostFocus(RoutedEventArgs).) |
|
|
OnMouseEnter | (Inherited from Control.) |
|
|
OnMouseLeave | (Inherited from Control.) |
|
|
OnMouseLeftButtonDown | (Inherited from Control.) |
|
|
OnMouseLeftButtonUp | (Inherited from Control.) |
|
|
OnMouseMove | (Inherited from Control.) |
|
|
OnTextInput | |
|
|
ReadLocalValue |
Returns the local value of a dependency property, if it exists. (Inherited from DependencyObject.) |
|
|
ReleaseMouseCapture |
Releases the mouse capture, if this element held the capture. (Inherited from UIElement.) |
|
|
ScrollIntoView(C1TextElement) |
Scrolls the C1RichTextBox to bring a C1TextElement into view.
|
|
|
ScrollIntoView(C1TextPointer) |
Scrolls the C1RichTextBox to bring a C1TextPointer into view.
|
|
|
ScrollTo |
Scrolls the C1RichTextBox so that the given position is at the top.
|
|
|
Select |
Selects a range of text in the rich text box.
|
|
|
SelectAll |
Selects all the text in the control.
|
|
|
SetBinding | (Inherited from FrameworkElement.) |
|
|
SetHtml |
Sets the HTML content.
|
|
|
SetValue |
Sets the local value of a dependency property, specified by its dependency property identifier. (Inherited from DependencyObject.) |
|
|
ToString | (Inherited from Object.) |
|
|
TransformToVisual | (Inherited from UIElement.) |
|
|
UpdateLayout |
Ensures that all visual child elements of this element are properly updated for layout. (Inherited from UIElement.) |
Fields
| Name | Description | |
|---|---|---|
|
|
AcceptsReturnProperty |
Identifies the AcceptsReturn dependency property.
|
|
|
AcceptsTabProperty |
Identifies the AcceptsTab dependency property.
|
|
|
ComputedHorizontalScrollBarVisibilityProperty |
Identifies the ComputedHorizontalScrollBarVisibility dependency property.
|
|
|
ComputedVerticalScrollBarVisibilityProperty |
Identifies the ComputedVerticalScrollBarVisibility dependency property.
|
|
|
DisabledCuesVisibilityProperty |
Identifies the DisabledCuesVisibility dependency property.
|
|
|
DisableSelectionProperty |
Identifies the DisableSelection dependency property.
|
|
|
DocumentProperty |
Identifies the Document dependency property.
|
|
|
ExtentHeightProperty |
Identifies the ExtentHeight dependency property.
|
|
|
ExtentWidthProperty |
Identifies the ExtentWidth dependency property.
|
|
|
FocusCuesVisibilityProperty |
Identifies the FocusCuesVisibility dependency property.
|
|
|
HideCaretProperty |
Identifies the HideCaret dependency property.
|
|
|
HideSelectionProperty |
Identifies the HideSelection dependency property.
|
|
|
HorizontalOffsetProperty |
Identifies the HorizontalOffset dependency property.
|
|
|
HorizontalScrollBarVisibilityProperty |
Identifies the HorizontalScrollBarVisibility dependency property.
|
|
|
HtmlFilterProperty |
Identifies the HtmlFilter dependency property.
|
|
|
HtmlProperty |
Identifies the Html dependency property.
|
|
|
IsFocusedProperty |
Identifies the IsFocused dependency property.
|
|
|
IsMouseOverProperty |
Identifies the IsMouseOver dependency property.
|
|
|
IsReadOnlyProperty |
Identifies the IsReadOnly dependency property.
|
|
|
PageCountProperty |
Identifies the PageCount dependency property.
|
|
|
PageNumberProperty |
Identifies the PageNumber dependency property.
|
|
|
PrintPageLayoutProperty |
Identifies the PrintPageLayout dependency property.
|
|
|
PrintPanelTemplateProperty |
Identifies the PrintPanelTemplate dependency property.
|
|
|
PrintTemplateProperty |
Identifies the PrintTemplate dependency property.
|
|
|
ReturnModeProperty |
Identifies the ReturnMode dependency property.
|
|
|
ScrollableHeightProperty |
Identifies the ScrollableHeight dependency property.
|
|
|
ScrollableWidthProperty |
Identifies the ScrollableWidth dependency property.
|
|
|
ScrollBarStyleProperty |
Identifies the ScrollBarStyle dependency property.
|
|
|
SelectionBackgroundProperty |
Identifies the SelectionBackground dependency property.
|
|
|
SelectionForegroundProperty |
Identifies the SelectionForeground dependency property.
|
|
|
TabSizeProperty |
Identifies the TabSize dependency property.
|
|
|
TextProperty |
Identifies the Text dependency property.
|
|
|
TextWrappingProperty |
Identifies the TextWrapping dependency property.
|
|
|
UIContainerResizeTemplateProperty |
Identifies the UIContainerResizeTemplate dependency property.
|
|
|
ValidationDecoratorStyleProperty |
Identifies the ValidationDecoratorStyle dependency property.
|
|
|
VerticalOffsetProperty |
Identifies the VerticalOffset dependency property.
|
|
|
VerticalScrollBarVisibilityProperty |
Identifies the VerticalScrollBarVisibility dependency property.
|
|
|
ViewModeProperty |
Identifies the ViewMode dependency property.
|
|
|
ViewportHeightProperty |
Identifies the ViewportHeight dependency property.
|
|
|
ViewportWidthProperty |
Identifies the ViewportWidth dependency property.
|
|
|
ZoomProperty |
Identifies the Zoom dependency property.
|
Properties
| Name | Description | |
|---|---|---|
|
|
AcceptsReturn |
Gets or sets a value that indicates how the text editing control responds when the user presses the ENTER key.
|
|
|
AcceptsTab |
Gets or sets whether tabs are accepted.
|
|
|
ActualHeight |
Gets the rendered height of this element. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
ActualWidth |
Gets the rendered width of this element. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
Background |
Gets or sets a brush that describes the background of a control. This is a dependency property. (Inherited from Control.) |
|
|
BorderBrush |
Gets or sets a brush that describes the border background of a control. This is a dependency property. (Inherited from Control.) |
|
|
BorderThickness |
Gets or sets the border thickness of a control. This is a dependency property. (Inherited from Control.) |
|
|
Clip |
Gets or sets the geometry used to define the outline of the contents of an element. This is a dependency property. (Inherited from UIElement.) |
|
|
ClipboardMode |
Indicates how the C1RichTextBox uses the clipboard.
|
|
|
ComputedHorizontalScrollBarVisibility |
Gets a value that indicates whether the horizontal ScrollBar is visible.
|
|
|
ComputedVerticalScrollBarVisibility |
Gets a value that indicates whether the vertical ScrollBar is visible.
|
|
|
Cursor |
Gets or sets the cursor that displays when the mouse pointer is over this element. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
DataContext |
Gets or sets the data context for an element when it participates in data binding. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
DefaultStyleKey | (Inherited from Control.) |
|
|
DesiredSize |
Gets the size that this element computed during the measure pass of the layout process. (Inherited from UIElement.) |
|
|
DisabledCuesVisibility |
Gets or sets a value indicating whether the disabled visuals of the control are visible.
|
|
|
DisableSelection |
Gets or sets whether text selection is disabled.
|
|
|
Dispatcher | (Inherited from DependencyObject.) |
|
|
Document |
Gets or sets the C1Document for the C1RichTextBox.
|
|
|
DocumentHistory |
Gets the DocumentHistory associated with current Document, used for undoing and redoing actions.
|
|
|
ExtentHeight |
Gets the vertical size of all the content for display in the C1RichTextBox.
|
|
|
ExtentWidth |
Gets the horizontal size of all the content for display in the C1RichTextBox.
|
|
|
FocusCuesVisibility |
Gets or sets a value indicating whether the focus visuals of the control are visible.
|
|
|
FontFamily |
Gets or sets the font family of the control. This is a dependency property. (Inherited from Control.) |
|
|
FontSize |
Gets or sets the font size. This is a dependency property. (Inherited from Control.) |
|
|
FontStretch |
Gets or sets the degree to which a font is condensed or expanded on the screen. This is a dependency property. (Inherited from Control.) |
|
|
FontStyle |
Gets or sets the font style. This is a dependency property. (Inherited from Control.) |
|
|
FontWeight |
Gets or sets the weight or thickness of the specified font. This is a dependency property. (Inherited from Control.) |
|
|
Foreground |
Gets or sets a brush that describes the foreground color. This is a dependency property. (Inherited from Control.) |
|
|
Height |
Gets or sets the suggested height of the element. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
HideCaret |
Gets or sets whether the caret is hidden.
|
|
|
HideSelection |
Gets or sets whether the control should highlight the selection when not in focus.
|
|
|
HorizontalAlignment |
Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
HorizontalContentAlignment |
Gets or sets the horizontal alignment of the control's content. This is a dependency property. (Inherited from Control.) |
|
|
HorizontalOffset |
Gets or sets a value that indicates the horizontal offset of the scrolled content.
|
|
|
HorizontalScrollBarVisibility |
Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed.
|
|
|
Html |
Gets or sets the content of the C1RichTextBox in HTML format.
|
|
|
HtmlFilter |
Gets or sets the HtmlFilter used by this C1RichTextBox to serialize and deserialize from HTML.
|
|
|
IsEnabled | (Inherited from Control.) |
|
|
IsFocused |
Returns true if the control has the focus.
|
|
|
IsHitTestVisible |
Gets or sets a value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content. This is a dependency property. (Inherited from UIElement.) |
|
|
IsMouseOver |
Returns true if the mouse is over the control.
|
|
|
IsReadOnly |
Gets or sets whether the user is allowed to modify the text in the control.
|
|
|
IsTabStop |
Gets or sets a value that indicates whether a control is included in tab navigation. This is a dependency property. (Inherited from Control.) |
|
|
Language |
Gets or sets localization/globalization language information that applies to an element. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
Margin |
Gets or sets the outer margin of an element. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
MaxHeight |
Gets or sets the maximum height constraint of the element. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
MaxWidth |
Gets or sets the maximum width constraint of the element. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
MinHeight |
Gets or sets the minimum height constraint of the element. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
MinWidth |
Gets or sets the minimum width constraint of the element. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
Name |
Gets or sets the identifying name of the element. The name provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constructed during processing by a XAML processor. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
NavigationMode |
Indicates when the RequestNavigate event is fired.
|
|
|
Opacity |
Gets or sets the opacity factor applied to the entire UIElement when it is rendered in the user interface (UI). This is a dependency property. (Inherited from UIElement.) |
|
|
OpacityMask |
Gets or sets an opacity mask, as a Brush implementation that is applied to any alpha-channel masking for the rendered content of this element. This is a dependency property. (Inherited from UIElement.) |
|
|
Padding |
Gets or sets the padding inside a control. This is a dependency property. (Inherited from Control.) |
|
|
PageCount |
Gets the current number of display pages for the content hosted by the C1RichTextBox.
|
|
|
PageNumber |
Gets the page number for the currently displayed page.
|
|
|
Painters |
Gets the collection of IRichTextPainter associated with this C1RichTextBox.
|
|
|
Parent |
Gets the logical parent element of this element. (Inherited from FrameworkElement.) |
|
|
PrintPageLayout | |
|
|
PrintPanelTemplate |
Gets or sets the ItemsPanelTemplate used for the panel containing the pages in print view mode.
|
|
|
PrintTemplate |
Gets or sets the DataTemplate used to present the C1RichTextBox in print mode.
|
|
|
RenderSize |
Gets (or sets, but see Remarks) the final render size of this element. (Inherited from UIElement.) |
|
|
RenderTransform |
Gets or sets transform information that affects the rendering position of this element. This is a dependency property. (Inherited from UIElement.) |
|
|
RenderTransformOrigin |
Gets or sets the center point of any possible render transform declared by RenderTransform, relative to the bounds of the element. This is a dependency property. (Inherited from UIElement.) |
|
|
Resources |
Gets or sets the locally-defined resource dictionary. (Inherited from FrameworkElement.) |
|
|
ReturnMode |
Gets or sets a value of ReturnMode that indicates how the RichTextBox handles the Return key.
|
|
|
ScrollableHeight |
Gets a value that represents the horizontal size of the area that can be scrolled; the difference between the height of the extent and the height of the viewport.
|
|
|
ScrollableWidth |
Gets a value that represents the vertical size of the area that can be scrolled; the difference between the width of the extent and the width of the viewport.
|
|
|
ScrollBarStyle | |
|
|
SelectedText |
Gets or sets the content of the current selection in the rich text box.
|
|
|
Selection |
Gets or sets the C1TextRange selected in the C1RichTextBox's document.
|
|
|
SelectionBackground |
Gets or sets the brush used to fill the background of the selected text.
|
|
|
SelectionForeground |
Gets or sets the brush used to fill the foreground of the selected text.
|
|
|
SelectionLength |
Gets or sets the number of characters in the current selection in the rich text box.
|
|
|
SelectionStart |
Gets or sets the starting position of the text selected in the rich text box.
|
|
|
SpellChecker |
Gets or sets the ISpellChecker used for as-you-type spell checking.
|
|
|
Style |
Gets or sets the style used by this element when it is rendered. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
StyleOverrides |
Gets the collection of IStyleOverride associated with this C1RichTextBox.
|
|
|
TabIndex |
Gets or sets a value that determines the order in which elements receive focus when the user navigates through controls by using the TAB key. This is a dependency property. (Inherited from Control.) |
|
|
TabNavigation | (Inherited from Control.) |
|
|
TabSize |
Gets or sets the size of a tab character in spaces.
|
|
|
Tag |
Gets or sets an arbitrary object value that can be used to store custom information about this element. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
Template |
Gets or sets a control template. This is a dependency property. (Inherited from Control.) |
|
|
Text |
Gets or sets the text inside the C1Document of the C1RichTextBox.
|
|
|
TextWrapping |
Gets or sets whether the control should wrap the text to fit its width.
|
|
|
Triggers |
Gets the collection of triggers established directly on this element, or in child elements. (Inherited from FrameworkElement.) |
|
|
UIContainerResizeTemplate |
Gets or sets the DataTemplate that generates the thumbs for resizing C1InlineUIContainers.
|
|
|
UseLayoutRounding | (Inherited from UIElement.) |
|
|
ValidationDecoratorStyle |
Gets or sets the style that is applied to the inner C1ValidationDecorator.
|
|
|
VerticalAlignment |
Gets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
VerticalContentAlignment |
Gets or sets the vertical alignment of the control's content. This is a dependency property. (Inherited from Control.) |
|
|
VerticalOffset |
Gets or sets a value that indicates the vertical offset of the scrolled content.
|
|
|
VerticalScrollBarVisibility |
Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed.
|
|
|
ViewManager |
Gets the C1RichTextViewManager currently used by this C1RichTextBox.
|
|
|
ViewMode |
Gets or sets the TextViewMode of the C1RichTextBox.
|
|
|
ViewportHeight |
Gets a value that contains the vertical size of the viewable content.
|
|
|
ViewportWidth |
Gets a value that contains the horizontal size of the viewable content.
|
|
|
Visibility |
Gets or sets the user interface (UI) visibility of this element. This is a dependency property. (Inherited from UIElement.) |
|
|
Width |
Gets or sets the width of the element. This is a dependency property. (Inherited from FrameworkElement.) |
|
|
Zoom |
Gets or sets a zoom value applied to the contents of the C1RichTextBox.
|
Events
| Name | Description | |
|---|---|---|
|
|
BindingValidationError | (Inherited from FrameworkElement.) |
|
|
ClipboardCopying |
Fired when a clipboard copy has been triggered.
|
|
|
ClipboardPasting |
Fired when a clipboard paste has been triggered.
|
|
|
DocumentChanged |
Fires when the Document property changes.
|
|
|
ElementMouseEnter |
Fires when the mouse enters a text element.
|
|
|
ElementMouseLeave |
Fires when the mouse leaves a text element.
|
|
|
ElementMouseLeftButtonDown |
Fires when the left mouse button is pressed over a text element.
|
|
|
ElementMouseLeftButtonUp |
Fires when the left mouse button is released over a text element.
|
|
|
ElementMouseMove |
Fires when the mouse moves over a text element.
|
|
|
GotFocus |
Occurs when this element gets logical focus. (Inherited from UIElement.) |
|
|
IsEnabledChanged | (Inherited from Control.) |
|
|
IsMouseOverChanged |
Event raised when the [P:IsMouseOver] property has changed.
|
|
|
KeyDown |
Occurs when a keyboard key is pressed while the C1RichTextBox has focus.
|
|
|
KeyUp |
Occurs when a key is released while focus is on this element. (Inherited from UIElement.) |
|
|
LayoutUpdated | (Inherited from FrameworkElement.) |
|
|
Loaded |
Occurs when the element is laid out, rendered, and ready for interaction. (Inherited from FrameworkElement.) |
|
|
LostFocus |
Occurs when this element loses logical focus. (Inherited from UIElement.) |
|
|
LostMouseCapture |
Occurs when this element loses mouse capture. (Inherited from UIElement.) |
|
|
MouseEnter |
Occurs when the mouse pointer enters the bounds of this element. (Inherited from UIElement.) |
|
|
MouseLeave |
Occurs when the mouse pointer leaves the bounds of this element. (Inherited from UIElement.) |
|
|
MouseLeftButtonDown |
Occurs when the left mouse button is pressed (or when the tip of the stylus touches the tablet PC) while the mouse pointer is over a UIElement.
|
|
|
MouseLeftButtonUp |
Occurs when the left mouse button is released while the mouse pointer is over this element. (Inherited from UIElement.) |
|
|
MouseMove |
Occurs when the mouse pointer moves while over this element. (Inherited from UIElement.) |
|
|
MouseSelectionCompleted |
Fired when the user completes a selection using a mouse.
|
|
|
RequestNavigate |
Fires when the user clicks on a C1Hyperlink.
|
|
|
SelectionChanged |
Fires when Selection changes.
|
|
|
SizeChanged |
Occurs when either the ActualHeight or the ActualWidth properties change value on this element. (Inherited from FrameworkElement.) |
|
|
TextChanged |
Fired when there is a change in the document.
|
|
|
TextDragMove |
Fires when the mouse moves while dragging text.
|
|
|
TextDragStart |
Fires when text dragging starts. Allows canceling the drag.
|
|
|
TextDrop |
Fires when dragged text is dropped.
|
|
|
ViewModeChanged |
Event raised when the [P:ViewMode] property has changed.
|