[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FormulaTextBox

FormulaTextBox Class

Represents the floating formula editor.

Inheritance
RichTextBoxEx
FormulaTextBox
Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
[ToolboxBitmap(typeof(FpSpread), "FormulaTextBoxV7.png")]
public class FormulaTextBox : RichTextBoxEx, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
<ToolboxBitmap(GetType(FpSpread), "FormulaTextBoxV7.png")>
Public Class FormulaTextBox
    Inherits RichTextBoxEx
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable

Constructors

Name Description
FormulaTextBox()

Creates a new floating formula editor bar.

Properties

Name Description
AllowUndo
AutoComplete

Gets or sets whether to allow the automatic completion of text in the formula text box.

ShouldResetFormat
Text

Gets or sets the current text in the formula text box.

Methods

Name Description
Attach(FpSpread)

Attaches the specified Spread component to the formula text box.

Detach()

Detaches the Spread component from the formula text box.

Dispose(bool)

Releases the unmanaged resources used by the TextBox and optionally releases the managed resources.

IsInputKey(Keys)

Determines whether the specified key is an input key or a special key that requires preprocessing.

OnEnter(EventArgs)

Raises the Enter event.

OnGotFocus(EventArgs)

Raises the GotFocus event.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnKeyPress(KeyPressEventArgs)

Raises the KeyPress event.

OnLayout(LayoutEventArgs)

Raises the Layout event.

OnLostFocus(EventArgs)

Raises the LostFocus event.

OnMouseDown(MouseEventArgs)
OnMouseUp(MouseEventArgs)
OnParentChanged(EventArgs)
OnSelectionChanged(EventArgs)

Raises the SelectionChanged event.

OnSizeChanged(EventArgs)
OnTextChanged(EventArgs)

Raises the TextChanged event.

ProcessDialogKey(Keys)
ScaleControl(SizeF, BoundsSpecified)
WndProc(ref Message)

Handles windows messages.

Events

Name Description
FormulaChanged

Raised when the formula is changed. This is different from TextChanged since if the text is changed manually, the FormulaChanged event is not raised.