menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCellRichTextBoxCellRenderer - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridCellRichTextBoxCellRenderer

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    CellRendererBase<GridRenderStyleInfo>
    GridCellRendererBase
    GridVirtualizingCellRendererBase<System.Windows.Controls.RichTextBox>
    GridVirtualizingCellRenderer<System.Windows.Controls.RichTextBox>
    GridCellRichTextBoxCellRenderer
    Implements
    IGridCellRenderer
    ICellRenderer
    IHitTestSelectCells
    IStyleChanged
    System.IDisposable
    IAllowKeepAliveOnlyCurrentCell
    Inherited Members
    CellRendererBase<GridRenderStyleInfo>.AllowCancelMouseCapture
    CellRendererBase<GridRenderStyleInfo>.Hide(UIElement)
    CellRendererBase<GridRenderStyleInfo>.ICellRenderer.Arrange(ArrangeCellArgs)
    CellRendererBase<GridRenderStyleInfo>.ICellRenderer.CancelMouseCapture(UIElement)
    CellRendererBase<GridRenderStyleInfo>.ICellRenderer.PrepareUIElements(ArrangeCellArgs, List<UIElement>, ScrollControlChildFrame)
    CellRendererBase<GridRenderStyleInfo>.ICellRenderer.RecaptureMouse(UIElement)
    CellRendererBase<GridRenderStyleInfo>.ICellRenderer.Render(DrawingContext, RenderCellArgs)
    CellRendererBase<GridRenderStyleInfo>.ICellRenderer.UnloadUIElements(VirtualizingCellsControl, RowColumnIndex, CellUIElements)
    CellRendererBase<GridRenderStyleInfo>.ICellRenderer.UnloadUIElementsWhenScrolledOutOfView
    CellRendererBase<GridRenderStyleInfo>.isInArrange
    CellRendererBase<GridRenderStyleInfo>.IsInArrange
    CellRendererBase<GridRenderStyleInfo>.RefreshCellUIElementsContent(VirtualizingCellsControl, CellUIElements, RowColumnIndex)
    CellRendererBase<GridRenderStyleInfo>.UnloadVisualsWhenScrolledOutOfView
    GridCellRendererBase.ActivateOptions
    GridCellRendererBase.AllowGridToFocus
    GridCellRendererBase.ApplyControlText(GridRenderStyleInfo, String)
    GridCellRendererBase.CellModel
    GridCellRendererBase.CellRowColumnIndex
    GridCellRendererBase.ColumnIndex
    GridCellRendererBase.ControlText
    GridCellRendererBase.ControlValue
    GridCellRendererBase.CurrentCell
    GridCellRendererBase.CurrentStyle
    GridCellRendererBase.CurrentStyleCopy
    GridCellRendererBase.EditorType
    GridCellRendererBase.GetControlText(GridRenderStyleInfo)
    GridCellRendererBase.GetControlTextCore(GridRenderStyleInfo, Object)
    GridCellRendererBase.GetControlValue(GridRenderStyleInfo)
    GridCellRendererBase.GridControl
    GridCellRendererBase.HasControlText
    GridCellRendererBase.HasControlValue
    GridCellRendererBase.HasCurrentCellState
    GridCellRendererBase.IGridCellRenderer.RaiseConfirmChangesFailed()
    GridCellRendererBase.IGridCellRenderer.RaiseGridPreviewTextInput(TextCompositionEventArgs)
    GridCellRendererBase.IGridCellRenderer.RenderForPrinting(DrawingContext, RenderCellArgs, GridRenderStyleInfo)
    GridCellRendererBase.IGridCellRenderer.ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs)
    GridCellRendererBase.InInitialize
    GridCellRendererBase.InSetControlText
    GridCellRendererBase.InSetControlValue
    GridCellRendererBase.IsControlTextShown
    GridCellRendererBase.IsCurrentCell(GridControlBase, RowColumnIndex)
    GridCellRendererBase.IsCurrentCell(GridRenderStyleInfo)
    GridCellRendererBase.IsCurrentCell(UIElement)
    GridCellRendererBase.IsDropDownable
    GridCellRendererBase.IsDroppedDown
    GridCellRendererBase.IsEditable
    GridCellRendererBase.IsFocusable
    GridCellRendererBase.IsFocused
    GridCellRendererBase.IsModifiable
    GridCellRendererBase.IsModified
    GridCellRendererBase.MoveCurrentHelper(FrameworkElement, MouseControllerEventArgs)
    GridCellRendererBase.NotifyCurrentCellChanged()
    GridCellRendererBase.NotifyCurrentCellChanging()
    GridCellRendererBase.OnActivateFailed()
    GridCellRendererBase.OnActivating()
    GridCellRendererBase.OnClipboardPaste(GridCutPasteEventArgs)
    GridCellRendererBase.OnClipboardPasted(GridCutPasteEventArgs)
    GridCellRendererBase.OnConfirmChangesFailed()
    GridCellRendererBase.OnCreateAutomationPeer()
    GridCellRendererBase.OnCreated()
    GridCellRendererBase.OnDeactivateFailed()
    GridCellRendererBase.OnDeactivating()
    GridCellRendererBase.OnEditingComplete()
    GridCellRendererBase.OnEnteredEditMode()
    GridCellRendererBase.OnInitialize()
    GridCellRendererBase.OnRejectChanges()
    GridCellRendererBase.OnRenderForPrinting(DrawingContext, RenderCellArgs, GridRenderStyleInfo)
    GridCellRendererBase.OnResetFocus()
    GridCellRendererBase.OnSaveChanges()
    GridCellRendererBase.OnSetFocus()
    GridCellRendererBase.OnValidate()
    GridCellRendererBase.OnValidated()
    GridCellRendererBase.RaiseActivated()
    GridCellRendererBase.RaiseActivateFailed()
    GridCellRendererBase.RaiseActivating(GridControlBase, RowColumnIndex, GridActivateCurrentCellOptions)
    GridCellRendererBase.RaiseBeginEdit()
    GridCellRendererBase.RaiseClipboardPaste(GridCutPasteEventArgs)
    GridCellRendererBase.RaiseClipboardPasted(GridCutPasteEventArgs)
    GridCellRendererBase.RaiseCreated(GridCellModelBase)
    GridCellRendererBase.RaiseDeactivated()
    GridCellRendererBase.RaiseDeactivateFailed()
    GridCellRendererBase.RaiseDeactivating()
    GridCellRendererBase.RaiseEditingComplete()
    GridCellRendererBase.RaiseEndEdit()
    GridCellRendererBase.RaiseGridCellClick(Int32, Int32, MouseControllerEventArgs)
    GridCellRendererBase.RaiseInitialize(GridActivateCurrentCellOptions)
    GridCellRendererBase.RaiseRejectChanges()
    GridCellRendererBase.RaiseSaveChanges()
    GridCellRendererBase.RaiseStartEditing()
    GridCellRendererBase.RaiseValidate()
    GridCellRendererBase.RaiseValidated()
    GridCellRendererBase.ResetControlText()
    GridCellRendererBase.ResetControlValue()
    GridCellRendererBase.ResetCurrentCellState()
    GridCellRendererBase.RowIndex
    GridCellRendererBase.ScrollInView()
    GridCellRendererBase.SetControlText(String)
    GridCellRendererBase.SetControlText(String, Boolean)
    GridCellRendererBase.SetControlValue(Object)
    GridCellRendererBase.SetCurrentCellState(GridControlBase, RowColumnIndex, GridActivateCurrentCellOptions)
    GridCellRendererBase.ShouldCurrentCellShowCellText()
    GridCellRendererBase.StyleChanged(StyleChangedEventArgs)
    GridCellRendererBase.SupportsRenderOptimization
    GridCellRendererBase.UpdateCellRowColumnIndex(RowColumnIndex)
    GridCellRendererBase.UpdateCurrentStyle()
    GridCellRendererBase.ValidateControlText(String)
    GridCellRendererBase.ValidateControlValue(Object)
    GridVirtualizingCellRenderer<RichTextBox>.AllowKeepAliveOnlyCurrentCell
    GridVirtualizingCellRenderer<RichTextBox>.CurrentCellUIElement
    GridVirtualizingCellRenderer<RichTextBox>.EmptyRecycleBin()
    GridVirtualizingCellRenderer<RichTextBox>.EnsureCurrentCellUIElement()
    GridVirtualizingCellRenderer<RichTextBox>.GetControlTextFromEditor()
    GridVirtualizingCellRenderer<RichTextBox>.GetControlTextFromEditorCore(RichTextBox)
    GridVirtualizingCellRenderer<RichTextBox>.GetControlValueFromEditor()
    GridVirtualizingCellRenderer<RichTextBox>.OnCancelMouseCapture(UIElement)
    GridVirtualizingCellRenderer<RichTextBox>.OnRecaptureMouse(UIElement)
    GridVirtualizingCellRenderer<RichTextBox>.RaiseGridPreviewMouseMove(RowColumnIndex, MouseEventArgs)
    GridVirtualizingCellRenderer<RichTextBox>.RefreshContent()
    GridVirtualizingCellRenderer<RichTextBox>.RollbackTextChange(TextBoxBase)
    GridVirtualizingCellRendererBase<RichTextBox>.AllowRecycle
    GridVirtualizingCellRendererBase<RichTextBox>.AllowRecycleIfIsKeyboardFocusWithin
    GridVirtualizingCellRendererBase<RichTextBox>.AllowTransparentBackground
    GridVirtualizingCellRendererBase<RichTextBox>.CreateUIElement(ArrangeCellArgs, GridRenderStyleInfo)
    GridVirtualizingCellRendererBase<RichTextBox>.Dispose(Boolean)
    GridVirtualizingCellRendererBase<RichTextBox>.GetBounds(UIElement)
    GridVirtualizingCellRendererBase<RichTextBox>.GetUIElement(CellUIElements)
    GridVirtualizingCellRendererBase<RichTextBox>.InInitializeContent
    GridVirtualizingCellRendererBase<RichTextBox>.InitializeContent(RichTextBox, GridRenderStyleInfo)
    GridVirtualizingCellRendererBase<RichTextBox>.InitializeDefaultProperties(RichTextBox)
    GridVirtualizingCellRendererBase<RichTextBox>.InvalidateMeasureRecursive(UIElement)
    GridVirtualizingCellRendererBase<RichTextBox>.OnArrange(ArrangeCellArgs, GridRenderStyleInfo)
    GridVirtualizingCellRendererBase<RichTextBox>.OnElementArranged(UIElement, Rect)
    GridVirtualizingCellRendererBase<RichTextBox>.OnElementMeasured(UIElement, Size)
    GridVirtualizingCellRendererBase<RichTextBox>.OnPrepareUIElements(ArrangeCellArgs, List<UIElement>, ScrollControlChildFrame, GridRenderStyleInfo)
    GridVirtualizingCellRendererBase<RichTextBox>.OnUnloadUIElements(VirtualizingCellsControl, RowColumnIndex, CellUIElements)
    GridVirtualizingCellRendererBase<RichTextBox>.SetBounds(UIElement, Rect)
    GridVirtualizingCellRendererBase<RichTextBox>.SetBounds(UIElement, Rect, Boolean, Boolean)
    NonFinalizeDisposable.Dispose()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Controls.Grid.GridCellRenderer
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public class GridCellRichTextBoxCellRenderer : GridVirtualizingCellRenderer<RichTextBox>, IGridCellRenderer, ICellRenderer, IHitTestSelectCells, IStyleChanged, IDisposable, IAllowKeepAliveOnlyCurrentCell

    Constructors

    GridCellRichTextBoxCellRenderer()

    Declaration
    public GridCellRichTextBoxCellRenderer()

    Methods

    ArrangeUIElement(ArrangeCellArgs, RichTextBox, GridRenderStyleInfo)

    Declaration
    protected override void ArrangeUIElement(ArrangeCellArgs aca, RichTextBox uiElement, GridRenderStyleInfo style)
    Parameters
    Type Name Description
    ArrangeCellArgs aca
    System.Windows.Controls.RichTextBox uiElement
    GridRenderStyleInfo style
    Overrides
    Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRendererBase<System.Windows.Controls.RichTextBox>.ArrangeUIElement(Syncfusion.Windows.Controls.Cells.ArrangeCellArgs, System.Windows.Controls.RichTextBox, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)

    CreateRendererElement(RichTextBox, GridRenderStyleInfo)

    Declaration
    public override void CreateRendererElement(RichTextBox textBox, GridRenderStyleInfo style)
    Parameters
    Type Name Description
    System.Windows.Controls.RichTextBox textBox
    GridRenderStyleInfo style
    Overrides
    Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.RichTextBox>.CreateRendererElement(System.Windows.Controls.RichTextBox, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)

    GetControlValueFromEditorCore(RichTextBox)

    Declaration
    protected override object GetControlValueFromEditorCore(RichTextBox uiElement)
    Parameters
    Type Name Description
    System.Windows.Controls.RichTextBox uiElement
    Returns
    Type
    System.Object
    Overrides
    Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.RichTextBox>.GetControlValueFromEditorCore(System.Windows.Controls.RichTextBox)

    MouseDown(FrameworkElement, MouseControllerEventArgs)

    Declaration
    public override void MouseDown(FrameworkElement owner, MouseControllerEventArgs e)
    Parameters
    Type Name Description
    System.Windows.FrameworkElement owner
    MouseControllerEventArgs e
    Overrides
    GridCellRendererBase.MouseDown(FrameworkElement, MouseControllerEventArgs)

    OnActivated()

    Declaration
    protected override void OnActivated()
    Overrides
    GridCellRendererBase.OnActivated()

    OnDeactivated()

    Declaration
    protected override void OnDeactivated()
    Overrides
    GridCellRendererBase.OnDeactivated()

    OnGridPreviewTextInput(TextCompositionEventArgs)

    Declaration
    protected override void OnGridPreviewTextInput(TextCompositionEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.TextCompositionEventArgs e
    Overrides
    GridCellRendererBase.OnGridPreviewTextInput(TextCompositionEventArgs)

    OnInitializeContent(RichTextBox, GridRenderStyleInfo)

    Called to initialize the content of the cell using the information from the cell style (value, text, behavior etc.). You must override this method in your derived class.

    Declaration
    public override void OnInitializeContent(RichTextBox textBox, GridRenderStyleInfo style)
    Parameters
    Type Name Description
    System.Windows.Controls.RichTextBox textBox

    The text box.

    GridRenderStyleInfo style

    The cell style info.

    Overrides
    Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.RichTextBox>.OnInitializeContent(System.Windows.Controls.RichTextBox, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)

    OnRender(DrawingContext, RenderCellArgs, GridRenderStyleInfo)

    Declaration
    protected override void OnRender(DrawingContext dc, RenderCellArgs rca, GridRenderStyleInfo style)
    Parameters
    Type Name Description
    System.Windows.Media.DrawingContext dc
    RenderCellArgs rca
    GridRenderStyleInfo style
    Overrides
    Syncfusion.Windows.Controls.Cells.CellRendererBase<Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo>.OnRender(System.Windows.Media.DrawingContext, Syncfusion.Windows.Controls.Cells.RenderCellArgs, Syncfusion.Windows.Controls.Grid.GridRenderStyleInfo)

    OnUnwireUIElement(RichTextBox)

    Declaration
    protected override void OnUnwireUIElement(RichTextBox uiElement)
    Parameters
    Type Name Description
    System.Windows.Controls.RichTextBox uiElement
    Overrides
    Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.RichTextBox>.OnUnwireUIElement(System.Windows.Controls.RichTextBox)

    OnWireUIElement(RichTextBox)

    Declaration
    protected override void OnWireUIElement(RichTextBox uiElement)
    Parameters
    Type Name Description
    System.Windows.Controls.RichTextBox uiElement
    Overrides
    Syncfusion.Windows.Controls.Grid.GridVirtualizingCellRenderer<System.Windows.Controls.RichTextBox>.OnWireUIElement(System.Windows.Controls.RichTextBox)

    ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs)

    Key Navigation Specification for Rich Text Eidtior.
    Key Action to be Processed Left Arrow is pressed while the cursor is not at 0 position Move the cursor to before Character index position. Right Arrow is Pressed while cursor is not at last character of the Editor. Move the cursor to next Character index position. UP Arrow is Pressed when the Cursor is not in First Row of RTE Move the cursor to above line with the same character index or last character index if above line if the length of the line is less than current caret position. Down Arrow is Pressed when the cursor is not in Last Row of RTE Move the cursor to below line with the same character index or last character index if next line if the length of the line is less than current caret position Left Arrow is pressed while the cursor is at 0 position The current cell should be moved to Previous valid cell.
    Right Arrow is Pressed while cursor is at last character of the Editor. The current Cell should be moved to Next valid cell. UP Arrow is Pressed when the Cursor is in First Row of RTE The current Cell should be moved to above Valid cell. Down Arrow is Pressed when the cursor is in Last Row of RTE The current cell should be moved to below valid cell. Tab Key is pressed. Never mind where the caret index is placed. The focus should be moved to next cell.
    Delete Key is pressed. Never mind where the caret index is placed. Should delete the next character from the current caret position in Editor. Backspace Key is pressed. Never mind where the caret index is placed. Should delete the previous character from the current caret position in Editor. Esc Key is pressed. Never mind where the caret index is placed. The Current cell must come out of Edit mode and focus should be in the Current Cell. CTRL + Left Key Move the caret symbol position to the starting character of previous WORD. CTRL + Right Key Move the caret symbol position to the starting Character of next WORD. CTRL + UP Key Move the caret symbol position to the starting Character of Previous Paragraph. CTRL + Down Key Move the caret symbol position to the starting Character of next Paragraph. Shift + Left Key Should add the previous character from the current caret position in Selection. Shift + Right Key Should add the next character from the current caret position in Selection. Shift + UP Key Should add the previous line from the current caret position in Selection.(Selection will be added till the caret index above the current caret index) Shift + Down Key Should add the next line from the current caret position in Selection. (Selection will be added till the caret index below the current caret index) Home Mover the cursor to the starting character index of the current line. End Move the cursor to the last character index(end of the line) of current line. CTRL + Home Mover the cursor to the starting character index of the Entire text in the Cell(RTE). CTRL + End Move the cursor to the last character index of the Entire text in the Cell(RTE). Shift + Home Mover the cursor to the starting character index of the current line. Also the Current Line will be added in selection. Shift + End Move the cursor to the last character index(end of the line) of current line. Also the Current Line will be added in selection. Enter(Return) Key is pressed. Cursor should move to next line. (new line) CRTL + Enter Key. Current cell should be moved to next valid cell.

    Declaration
    protected override bool ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Input.KeyEventArgs e
    Returns
    Type
    System.Boolean
    Overrides
    GridCellRendererBase.ShouldGridTryToHandlePreviewKeyDown(KeyEventArgs)

    Implements

    IGridCellRenderer
    ICellRenderer
    IHitTestSelectCells
    IStyleChanged
    System.IDisposable
    IAllowKeepAliveOnlyCurrentCell
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved