Back to Devexpress

BarSubItemThemeSelectorBehavior.ShowMode Property

wpf-devexpress-dot-xpf-dot-bars-dot-barsubitemthemeselectorbehavior.md

latest2.8 KB
Original Source

BarSubItemThemeSelectorBehavior.ShowMode Property

Gets or sets a BarSubItemThemeSelectorBehavior‘s display mode. This is a dependency property.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public BarSubItemThemeSelectorShowMode ShowMode { get; set; }
vb
Public Property ShowMode As BarSubItemThemeSelectorShowMode

Property Value

TypeDescription
BarSubItemThemeSelectorShowMode

A BarSubItemThemeSelectorBehavior‘s display mode.

|

Available values:

NameDescription
List

Themes are displayed in a list.

| | GroupedInSubMenus |

Themes are grouped by category and displayed in sub menus.

| | GroupedList |

Themes are displayed in a list and grouped by category.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowMode 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.

wpf-mvvm-behaviors-barItems-based-theme-selectors/CS/WpfApplication1/MainWindow.xaml#L55

xml
<dxmvvm:Interaction.Behaviors>
    <dxb:BarSubItemThemeSelectorBehavior ShowMode="GroupedInSubMenus" />
</dxmvvm:Interaction.Behaviors>

See Also

BarSubItemThemeSelectorBehavior Class

BarSubItemThemeSelectorBehavior Members

DevExpress.Xpf.Bars Namespace