[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.RichTextEditor

RichTextEditor Class

Represents the base control for the rich text cell type.

Namespace: FarPoint.Win.Spread.CellType
Assembly: FarPoint.Win.Spread.dll
Syntax
public class RichTextEditor : RichTextBoxWrapper, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IInputScopeSupport
Public Class RichTextEditor
    Inherits RichTextBoxWrapper
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IInputScopeSupport

Constructors

Name Description
RichTextEditor()

Creates a new rich text editor.

RichTextEditor(bool)

Creates a new rich text editor with a required user interface.

Properties

Name Description
AllowClipboard

Gets or sets whether the use of the Clipboard is allowed.

SubEditor

Gets or sets the subeditor to use.

Value

Gets or sets the value.

Methods

Name Description
AlignCenter_Clicked(object, EventArgs)

Occurs when the center alignment is selected.

AlignLeft_Clicked(object, EventArgs)

Occurs when the left alignment is selected.

AlignRight_Clicked(object, EventArgs)

Occurs when the right alignment is selected.

BitmapPaint()

Paints a bitmap.

BitmapPaint(Picture)

Paints the specified background image as a bitmap.

BitmapPaint(Picture, Rectangle)

Paints the specified background image as a bitmap in the specified rectangle.

BitmapPaint(Picture, Rectangle, float)

Paints the specified background image as a bitmap in the specified rectangle with the specified scaling.

BitmapPaint(Picture, float)

Paints the specified background image as a bitmap with the specified scaling.

Bold_Clicked(object, EventArgs)

Occurs when the bold style is selected.

ClearAll_Clicked(object, EventArgs)

Occurs when the clear all selection choice is selected.

Color_Clicked(object, EventArgs)

Occurs when the color is selected.

ContextMenu_Popup(object, EventArgs)

Occurs when the context menu is displayed.

Copy()

Copies when use of Clipboard is allowed.

Copy_Clicked(object, EventArgs)

Occurs when the copy to the Clipboard choice is selected.

CreateCompatibleDC(IntPtr)

Creates a compatible device context

Cut()

Cuts when use of Clipboard is allowed.

Cut_Clicked(object, EventArgs)

Occurs when the cut to the Clipboard choice is selected.

DeleteDC(IntPtr)

Deletes a device context

Delete_Clicked(object, EventArgs)

Occurs when the delete selection choice is selected.

DisableContextMenu(bool)

Determines if the context menu is disabled.

Font_Clicked(object, EventArgs)

Occurs when the font is selected.

IsInputKey(Keys)

Determines whether to process the specified key by the control.

Italic_Clicked(object, EventArgs)

Occurs when the italic style is selected.

LoadFile_Clicked(object, EventArgs)

Occurs when the load file is selected.

OnAfterFocus(EventArgs)

Raises the AfterFocus event.

OnEnter(EventArgs)

Raises the Enter event.

OnGotFocus(EventArgs)

Raises the GotFocus event.

OnHandleDestroyed(EventArgs)

Occurs when the handle is destroyed.

OnKeyDown(KeyEventArgs)

Occurs when a key is down. Internal use only.

OnMouseDown(MouseEventArgs)

Handles mouse down processing.

OnParentChanged(EventArgs)

Raises the ParentChanged event.

OnSubEditorClosed(EventArgs)

Raises the SubEditorClosed event.

OnSubEditorOpening(SubEditorCancelEventArgs)

Raises the SubEditorOpening event.

OnUserError(UserErrorEventArgs)

Raises the UserError event.

OnVisibleChanged(EventArgs)

Raises the VisibleChanged event.

Paste()

Pastes when use of Clipboard is allowed.

Paste(Format)

Pastes with formatting when use of Clipboard is allowed.

Paste_Clicked(object, EventArgs)

Occurs when the paste from the Clipboard choice is selected.

ProcessDialogKey(Keys)

Processes the specified dialog key by the control.

ProcessKeyMessage(ref Message)
SelectAll_Clicked(object, EventArgs)

Occurs when the select all choice is selected.

SetBackgroundImageRenderDimensions(int, int)

Sets the dimensions of the background image renderer.

SetRenderDimensions(int, int)

Sets the dimensions of the renderer.

ShowSubEditor(bool)

Shows or hides the subeditor control associated with the cell.

Size_Clicked(object, EventArgs)

Occurs when the size is selected.

Underline_Clicked(object, EventArgs)

Occurs when the underline style is selected.

WndProc(ref Message)

Internal use only.

Events

Name Description
AfterFocus

Occurs after the control gets focus.

Enter

Occurs when the control is entered.

SubEditorClosed

Occurs when the subeditor for a cell closes.

SubEditorOpening

Occurs when the subeditor for a cell opens.

UserError

Occurs when content is provided that cannot be processed or is invalid.

VisibleChanged

Occurs when the System.Windows.Forms.Control.Visible property value changes.