[]
        
(Showing Draft Content)

FarPoint.Win.Spread.ModelessForm

ModelessForm Class

Represents an abstract modeless form which allow user to select cell ranges from Spread.

Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
public class ModelessForm : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Public Class ModelessForm
    Inherits Form
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl

Constructors

Name Description
ModelessForm()

Initializes a new instance of the ModelessForm class.

ModelessForm(FpSpread)

Initializes a new instance of the ModelessForm class.

Fields

Name Description
CompactPanel

Indicates the panel which contains control elements when the current form is in compact mode. It's used internal only.

SelectButtonBase

Indicates the button in compact mode. It's used internal only.

tblMainLayoutBase

Properties

Name Description
AlwaysInCompact

Gets or sets a value indicating whether the form will be always in compact mode.

AutoCompact

Gets or sets a value indicating whether the form will transform to compact mode automatically (when user is selecting).

IgnoreUpdateSelection

Gets or sets a value indicating whether [ignore update selection].

IsInCompactMode

Gets a value indicating whether this instance is in compact mode.

NativeWindow

Gets the native window.

Owner

Gets or sets the form that owns this form.

RestoreCompactButton

Gets the restore compact button.

SuppendSelecting

Gets or sets a value indicating whether selecting is suppend. In the most case, it will be assigned if the form open a new modeless form.

Methods

Name Description
ActiveSheetView(string, SheetView)

Actives the sheet view.

AutoCorrectFormula(string)

Autoes the correct formula.

Dispose(bool)

Clean up any resources being used.

GetFormula(SheetCellRange[], bool)

Gets the formula string of multiple sheet cell ranges.

GetFormula(SheetView, CellRange)

Gets the formula string of a sheet cell range.

GetSheetCellRangeArray(SheetView, CellRange[])

Gets the sheet cell range array.

HideCompactPanel()

Hides the compact panel.

OnActivatingTextBoxEnter()

Called when user put focus on activating text box.

OnActivatingTextBoxLeave()

Called when user leave focus from activating text box.

OnAfterSelectionChanging(CellRange)

Called when [after selection changing].

OnClosed(EventArgs)

Raises the System.Windows.Forms.Form.Closed event.

OnClosing(CancelEventArgs)

Raises the System.Windows.Forms.Form.Closing event.

OnSelectionChanged(CellRange, CellRange[])

Called when user finished selecting cell range.

OnSelectionChanging(CellRange, CellRange[])

Called when user is selecting cell range.

ParseCellRange(string)

Parses the cell range.

ParseCellRanges(string, bool)

Parses the cell ranges.

ProcessDialogKey(Keys)

Processes a dialog box key.

ProcessMnemonic(char)

Processes the mnemonic.

RestoreFromCompactMode()

Restores from compact mode.

Show()

Displays the control to the user.

ShowCompactPanel()

Shows the compact panel.

ShowSelectedCellRange(SeriesDataField)

Shows the selected cell range.

ShowSelectedCellRange(IEnumerable<SheetCellRange>)
TransformToCompactMode()

Transforms to compact mode.

UpdateSelectionCellRange(SheetView, CellRange[])

Updates the selection cell range.

WndProc(ref Message)

This function handles all messages which is dispatched to the window.