RibbonButtonBase.LargeIcon Property
In This Article
Gets or sets the ribbon button’s large icon (32x32 px). This is a dependency property.
Namespace: DevExpress.WinUI.Ribbon
Assembly: DevExpress.WinUI.Ribbon.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
[DP(null, Handler = "UpdateButtonPresenter")]
public DXIconSource LargeIcon { get; set; }
#Property Value
Type | Description |
---|---|
DXIcon |
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>
See Also