TX Text Control .NET for Windows Forms

QuickAccessToolbarPosition Property

Property|Introduced in 29.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 or sets a value defining the position of the quick access toolbar, above or below the ribbon.

Syntax

public QuickAccessToolbarPosition QuickAccessToolbarPosition { get; set; }

Members

ValueDescription
AboveRibbonThe quick access toolbar is shown in the caption area of the RibbonForm.
BelowRibbonThe quick access toolbar is shown below the ribbon.

Examples

The following example uses RibbonForm.QuickAccessToolbarPosition to configure quick access toolbar position as part of the ribbon form workflow. The change is then applied to the active document or user interface.

ribbonForm.QuickAccessToolbarPosition = TXTextControl.Windows.Forms.Ribbon.QuickAccessToolbarPosition.AboveRibbon;
ribbonForm.Update();

Remarks

The property's default value is QuickAccessToolbarPosition.AboveRibbon.