Gets or sets a value defining whether the first tab of the ribbon is an application menu.

Introduced: X16.

Syntax

public bool HasApplicationMenu { get; set; }
Public Property HasApplicationMenu As Boolean

Examples

The following example uses the HasApplicationMenu property of Ribbon class and sets the value of the property to True so that the first tab of the ribbon is an application menu.

TXTextControl.Windows.Forms.Ribbon.Ribbon ribbon = 
new TXTextControl.Windows.Forms.Ribbon.Ribbon();

ribbon.DisplayColors  = TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors.White; 
ribbon.HasApplicationMenu = true;
Dim ribbon As TXTextControl.Windows.Forms.Ribbon.Ribbon = 
New TXTextControl.Windows.Forms.Ribbon.Ribbon()

ribbon.DisplayColors = TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors.White
ribbon.HasApplicationMenu = true