Back to Devexpress

RibbonControl.ApplicationButtonLargeIcon Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribboncontrol-53d393d4.md

latest4.1 KB
Original Source

RibbonControl.ApplicationButtonLargeIcon Property

Gets or sets the image displayed within the Application Button in the Office2007 paint style. This is a dependency property.

Namespace : DevExpress.Xpf.Ribbon

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

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public ImageSource ApplicationButtonLargeIcon { get; set; }
vb
Public Property ApplicationButtonLargeIcon As ImageSource

Property Value

TypeDescription
ImageSource

An ImageSource value that specifies the image displayed within the Application Button in the Office2007 paint style.

|

Remarks

A RibbonControl’s Application Button displays a large image in the Office2007 style, and a small image in the Office2010 and OfficeSlim paint styles (see RibbonControl.RibbonStyle).

Use the ApplicationButtonLargeIcon property to specify a custom large image for the Application Button. A small image can be specified with the RibbonControl.ApplicationButtonSmallIcon property.

The recommended large image size is 32x32 pixels, at 96 dpi. If the size of the assigned large image exceeds the ApplicationButton’s size (44x42), it is resized to the button’s size. The size of the circle within the Application Button is 36x36 pixels.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ApplicationButtonLargeIcon 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#L23

xml
ApplicationButtonSmallIcon="{dxc:DXImage Image=Home_16x16.png}"
ApplicationButtonLargeIcon="{dxc:DXImage Image=Home_32x32.png}"
ApplicationButtonText="File"

See Also

KeyTipApplicationButton

ApplicationButtonSmallIcon

RibbonStyle

ShowApplicationButton

Ribbon Menu

RibbonControl Class

RibbonControl Members

DevExpress.Xpf.Ribbon Namespace