TX Text Control .NET for Windows Forms

ApplicationMenuItems Property

Property|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a collection of all items which are displayed on the Application Menu. Every ribbon includes an Application Menu as the first tab in the ribbon. Other ribbon tabs contain controls for working with the document content. In contrast, the Application Menu presents a menu of commands for working with the file. The collection can be used to add or remove items and to set item properties. The property value is an object of the type Windows.Forms.Ribbon.RibbonItemCollection.

Syntax

public RibbonItemCollection ApplicationMenuItems { get; }

Examples

The following example iterates through the application menu items collection and processes each control.

foreach (System.Windows.Forms.Control control in ribbon.ApplicationMenuItems)
{
    control.Text = "Quarterly results";
}

Limitations

Read only.