Skip to main content

BarItem.LargeGlyph Property

Gets or sets the item’s large image. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v22.2.dll

NuGet Package: DevExpress.Wpf.Core


public ImageSource LargeGlyph { get; set; }

Property Value

Type Description

An ImageSource object that specifies the item’s large image.


You can assign glyphs to bar items with the following properties:

Property Glyph size
BarItem.Glyph 16*16
BarItem.LargeGlyph 32*32
BarItem.MediumGlyph 20*20

If both large and small images are assigned, the bar item’s links will display either image, according to the settings provided by bar objects (a bar item, bar, menu and bar manager). For example, if a bar item link is displayed within a toolbar, the large image will be displayed. If a bar item link is displayed within sub-menus, small images will be used. The BarItem.MediumGlyph is used in the Ribbon’s Simplified Mode.

See the BarItem.Glyph topic to learn more.

Control images can be automatically substituted for other images based on the app context (the system DPI setting, the application UI culture, paint theme and touch mode availability). See the following topic to learn more: Automatically Choosing Images Based on App Context.


This example shows how to create bar items and associate them with a custom Format category.

The following image shows the result:


View Example

Imports System
Imports System.Collections.Generic
Imports System.Configuration
Imports System.Data
Imports System.Linq
Imports System.Windows

Namespace WpfApplication3
    ''' <summary>
    ''' Interaction logic for App.xaml
    ''' </summary>
    Partial Public Class App
        Inherits Application

        Private Sub OnAppStartup_UpdateThemeName(ByVal sender As Object, ByVal e As StartupEventArgs)

        End Sub
    End Class
End Namespace

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


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.

See Also