<!-- Generated by tools/SharpCell.Grid.Docs from the XML documentation comments. Do not edit; run the tool with 'generate'. -->

# FormulaBar

```csharp
public class FormulaBar : UserControl
```

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

Excel's formula bar for a [SpreadsheetView](SharpCell.Grid.Wpf.SpreadsheetView.md): 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

<a id="ctor"></a>
### FormulaBar()

```csharp
public FormulaBar()
```

A bar for no view; set [FormulaBar.View](SharpCell.Grid.Wpf.FormulaBar.md#view) to connect it.

## Properties

<a id="view"></a>
### View

```csharp
public SpreadsheetView? View { get; set; }
```

The view whose active cell the bar shows and edits.
