TX Text Control .NET for Windows Forms

RibbonFormulaTab Class

Class|Introduced in 26.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Windows.Forms.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.
Inherits
  1. TabPage
  2. RibbonTab
  3. RibbonFormulaTab

Description

The RibbonFormulaTab class represents a Windows Forms ribbon tab for editing formulas in table cells. To modify a formula, a TextControl must be connected with the Ribbon which hosts the RibbonFormulaTab.

Syntax

public class RibbonFormulaTab : RibbonTab

Examples

The following example creates a Ribbon Formula Tab instance and configures its key tip setting for a document workflow.

using TXTextControl.Windows.Forms.Ribbon.RibbonFormulaTab ribbonFormulaTab = new();
ribbonFormulaTab.KeyTip = "Quarterly report";

Members

Constructors

ConstructorDescription
RibbonFormulaTabInitializes a new instance of the RibbonFormulaTab class.
RibbonTabInitializes a new instance of the RibbonTab class. (Inherited from RibbonTab.)

Properties

PropertyDescription
KeyTipGets or sets the keyboard shortcut of the RibbonTab. (Inherited from RibbonTab.)
RibbonGroupsGets a collection of all RibbonGroups in a RibbonTab. A RibbonGroup then hosts controls that represent application commands. The property value is of the type RibbonGroupCollection. (Inherited from RibbonTab.)

Methods

MethodDescription
FindItemFinds a control that has the provided RibbonFormulaTab.RibbonItem identifier.
ResetKeyTipNot described in the reference. public void ResetKeyTip();

Enumerations

EnumerationDescription
RibbonItemEach RibbonItem represents an item in the RibbonFormulaTab that is not a drop-down item. The corresponding string of a RibbonItem is the same as the item's Name property. The RibbonItem enumeration can be used with the FindItem method to get an item and manipulate it or with the ResourceProvider class that provides static methods to receive bitmaps or strings which are associated with the corresponding ribbon item.