Back to Devexpress

TabbedView.SetGroupsVisibility(IEnumerable<DocumentGroup>, Boolean) Method

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-tabbed-dot-tabbedview-dot-setgroupsvisibility-x28-ienumerable-documentgroup-boolean-x29.md

latest2.9 KB
Original Source

TabbedView.SetGroupsVisibility(IEnumerable<DocumentGroup>, Boolean) Method

Sets visibility options common for multiple DocumentGroups.

Namespace : DevExpress.XtraBars.Docking2010.Views.Tabbed

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public void SetGroupsVisibility(
    IEnumerable<DocumentGroup> groups,
    bool value
)
vb
Public Sub SetGroupsVisibility(
    groups As IEnumerable(Of DocumentGroup),
    value As Boolean
)

Parameters

NameTypeDescription
groupsIEnumerable<DocumentGroup>

An IEnumerable<DocumentGroup> object that contains DocumentGroups whose visibility is to be set.

| | value | Boolean |

A Boolean value specifying whether target DocumentGroups should be made visible.

|

Remarks

The SetGroupsVisibility method receives a collection of DocumentGroups as the groups parameter and sets their visibility according to the value parameter. To specify an individual group’s visibility, use the DocumentGroup.Visible property, instead. Changing group visibility fires the DocumentGroup.VisibilityChanged event.

See Also

Visible

VisibilityChanged

TabbedView Class

TabbedView Members

DevExpress.XtraBars.Docking2010.Views.Tabbed Namespace