SharpCell.Grid

FormulaBar

public class FormulaBar : UserControl

Namespace SharpCell.Grid.Wpf · package SharpCell.Grid.Wpf

Excel's formula bar for a SpreadsheetView: the name box with the active cell's address, and the active cell's formula or value as Excel shows it to edit. Typing in the bar edits the cell, and the cell's editor shows the same text; Enter and Tab enter it, Escape leaves the cell as it was. An address or a range typed into the name box selects it.

Constructors

FormulaBar()

public FormulaBar()

A bar for no view; set FormulaBar.View to connect it.

Properties

View

public SpreadsheetView? View { get; set; }

The view whose active cell the bar shows and edits.