[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FormatCells

FormatCells Class

Represents the format cell dialog.

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

The format cell dialog works in the flat style mode only.

Constructors

Name Description
FormatCells(IRange, FormatCellsTab)

Initializes a new instance of the FormatCells class.

FormatCells(IWorksheet, Reference, FormatCellsTab)

Initializes a new instance of the FormatCells class.

FormatCells(IWorksheet, Reference[], FormatCellsTab)

Initializes a new instance of the FormatCells class.

Properties

Name Description
FormatModification

Gest the StyleFormatApplyment value indicates which style is modified.

SelectedTab

Gets the current display tab.

ShowNormalFont

Show Normal Font checkbox.

StyleFormat

Gets the modified style format.

Methods

Name Description
AccountingFormat(FpSpread)

Show dialog to select number format with default option is accounting format.

AddTab(FormatCellsTab)

Show the specified tabs.

ClearTabs()

Clears all tab pages in the dialog.

Dispose(bool)

Clean up any resources being used.

OnClosing(CancelEventArgs)

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

ShowDialog()

Shows the form as a modal dialog box.

ShowDialog(IWin32Window)

Shows the form as a modal dialog box with the specified owner.

TryGetNumberFormatCategory(NumberFormat, IWorkbook, out PredefinedNumberFormats)

Gets the category of the specified number format.