Back to Devexpress

GalleryDropDownPopupMenu Class

wpf-devexpress-dot-xpf-dot-ribbon-7bb51a8b.md

latest4.1 KB
Original Source

GalleryDropDownPopupMenu Class

A popup menu capable of displaying a gallery.

Namespace : DevExpress.Xpf.Ribbon

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

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
[DXLicenseWpf]
public class GalleryDropDownPopupMenu :
    PopupMenu
vb
<DXLicenseWpf>
Public Class GalleryDropDownPopupMenu
    Inherits PopupMenu

The following members return GalleryDropDownPopupMenu objects:

Remarks

To specify a gallery for the GalleryDropDownPopupMenu object, use the GalleryDropDownPopupMenu.Gallery property. It’s possible to display menu commands (bar item links) below the gallery. To add menu commands, use the PopupMenu.ItemLinks collection.

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

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.

wpf-spreadsheet-assign-custom-in-place-editors/CS/WpfSpreadsheet_CustomCellEditors/MainWindow.xaml#L518

xml
<dxb:BarSplitButtonItem x:Name="biInsertChartColumnCommandGroup" ActAsDropDown="True" Command="{Binding InsertChartColumnCommandGroup, Mode=OneTime, Source={StaticResource commands}}">
    <dxr:GalleryDropDownPopupMenu>
        <dxr:GalleryDropDownPopupMenu.Gallery>

wpf-spreadsheet-bind-spreadsheet-to-ms-sql-server-database/CS/WpfSpreadsheet_BindToDataSource/MainWindow.xaml#L520

xml
<dxb:BarSplitButtonItem x:Name="biInsertChartColumnCommandGroup" ActAsDropDown="True" Command="{Binding InsertChartColumnCommandGroup, Mode=OneTime, Source={StaticResource commands}}">
    <dxr:GalleryDropDownPopupMenu>
        <dxr:GalleryDropDownPopupMenu.Gallery>

Implements

ILinksHolder

Inheritance

Show 13 items

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Popup DevExpress.Xpf.Core.PopupBase BarPopupBase BarPopupExpandable PopupMenuBase PopupMenu GalleryDropDownPopupMenu

See Also

GalleryDropDownPopupMenu Members

DevExpress.Xpf.Ribbon Namespace