Skip to main content
A newer version of this page is available. .

RibbonButtonBase.LargeIcon Property

Gets or sets the ribbon button’s large icon (32x32 px). This is a dependency property.

Namespace: DevExpress.WinUI.Ribbon

Assembly: DevExpress.WinUI.Ribbon.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(null, Handler = "UpdateButtonPresenter")]
public DXIconSource LargeIcon { get; set; }

Property Value

Type Description
DXIconSource

The ribbon button’s large icon.

Remarks

The following code sample specifies the RibbonButton‘s large icon:

<Window ... 
    xmlns:dxr="using:DevExpress.WinUI.Ribbon">
    <Grid>
        <dxr:RibbonControl>
            <dxr:RibbonControl.Tabs>
              <dxr:RibbonTab Caption="Home" >
                  <dxr:RibbonGroup Caption="File">
                      <dxr:RibbonButton Content="Open" ItemType="Large">
                             <dxr:RibbonButton.LargeIcon>
                                 <dxc:DXSymbolIconSource Symbol="OpenFile" />
                             </dxr:RibbonButton.LargeIcon>
                         </dxr:RibbonButton>
                  </dxr:RibbonGroup>
              </dxr:RibbonTab>
            </dxr:RibbonControl.Tabs>
        </dxr:RibbonControl>
        <!-- ... -->
    </Grid>
</Window>

WinUI RibbonControl - RibbonButton Large Icon

See Also