Back to Devexpress

NavigationPaneView.MaxVisibleGroupCount Property

wpf-devexpress-dot-xpf-dot-navbar-dot-navigationpaneview-7597ab95.md

latest4.0 KB
Original Source

NavigationPaneView.MaxVisibleGroupCount Property

Gets or sets the maximum number of visible group headers that can be displayed within the group button panel. This is a dependency property.

Namespace : DevExpress.Xpf.NavBar

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

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public int MaxVisibleGroupCount { get; set; }
vb
Public Property MaxVisibleGroupCount As Integer

Property Value

TypeDescription
Int32

An integer value that specifies the maximum number of displayed group headers allowed.

|

Remarks

Use the MaxVisibleGroupCount property to specify how many visible group headers can be displayed within the group button panel. This number can be modified by resizing the panel using the splitter or the ‘Show Fewer Buttons’ and ‘Show More Buttons’ items of the customization menu.

The following code snippets (auto-collected from DevExpress Examples) contain references to the MaxVisibleGroupCount 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-spreadsheet-how-to-apply-conditional-formatting-to-a-range-of-cells/CS/ConditionalFormatting_WPF_Examples/MainWindow.xaml#L41

xml
<dxn:NavBarControl.View>
    <dxn:NavigationPaneView MouseDoubleClick="NavigationPaneView_MouseDoubleClick" MaxVisibleGroupCount="7" />
</dxn:NavBarControl.View>

wpf-spreadsheetcontrol-api-part-1/CS/SpreadsheetControl_WPF_API/MainWindow.xaml#L39

xml
<dxn:NavBarControl.View>
    <dxn:NavigationPaneView MouseDoubleClick="NavigationPaneView_MouseDoubleClick" MaxVisibleGroupCount="7" />
</dxn:NavBarControl.View>

wpf-spreadsheetcontrol-api-part-2/CS/SpreadsheetControl_WPF_API_Part02/MainWindow.xaml#L38

xml
<dxn:NavBarControl.View>
    <dxn:NavigationPaneView MouseDoubleClick="NavigationPaneView_MouseDoubleClick" MaxVisibleGroupCount="10" />
</dxn:NavBarControl.View>

See Also

ActiveGroupMinHeight

NavigationPaneView Class

NavigationPaneView Members

DevExpress.Xpf.NavBar Namespace