Back to Devexpress

RibbonControl.ApplicationButtonText Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribboncontrol-bf55f653.md

latest3.9 KB
Original Source

RibbonControl.ApplicationButtonText Property

Gets or sets the text displayed within the Application Button in the Office2010 and OfficeSlim paint styles. This is a dependency property.

Namespace : DevExpress.Xpf.Ribbon

Assembly : DevExpress.Xpf.Ribbon.v25.2.dll

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public string ApplicationButtonText { get; set; }
vb
Public Property ApplicationButtonText As String

Property Value

TypeDescription
String

A string that specifies text displayed within the Application Button in the Office2010 and OfficeSlim paint styles.

|

Remarks

When the RibbonControl.RibbonStyle property is set to RibbonStyle.Office2010 or RibbonStyle.OfficeSlim, the Application Button can display a small image followed by text. Use the ApplicationButtonText property to specify the text. The small image can be specified via the RibbonControl.ApplicationButtonSmallIcon property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ApplicationButtonText property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

how-to-create-supertips-for-bar-items-ribbon-items-and-standard-controls-in-code-and-xaml-e2702/CS/SuperTipForRibbonFromCode.xaml#L19

xml
</Grid.RowDefinitions>
<dxr:RibbonControl x:Name="RibbonControl" ApplicationButtonLargeIcon="ribbon-application-32x32.png" ApplicationButtonText="File" PageCategoryAlignment="Right" MinimizationButtonVisibility="Visible">
    <dxr:RibbonControl.ToolbarItemLinks>

wpf-create-a-ribboncontrol/CS/RibbonControl_Ex/MainWindow.xaml#L24

xml
ApplicationButtonLargeIcon="{dxc:DXImage Image=Home_32x32.png}"
ApplicationButtonText="File"
PageCategoryAlignment="Right"

See Also

KeyTipApplicationButton

ApplicationButtonLargeIcon

ApplicationButtonSmallIcon

RibbonStyle

ShowApplicationButton

Ribbon Menu

RibbonControl Class

RibbonControl Members

DevExpress.Xpf.Ribbon Namespace