Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinExplorerBar Private Sub Button42_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button42.Click ' Toggle the visible status of each Item in the ActiveGroup. If (Me.ultraExplorerBar1.ActiveGroup Is Nothing) Then Return End If Dim item As UltraExplorerBarItem For Each item In Me.ultraExplorerBar1.ActiveGroup.Items item.Visible = Not item.Visible Next End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinExplorerBar; private void button42_Click(object sender, System.EventArgs e) { // Toggle the visible status of each Item in the ActiveGroup. if (this.ultraExplorerBar1.ActiveGroup == null) return; foreach(UltraExplorerBarItem item in this.ultraExplorerBar1.ActiveGroup.Items) { item.Visible = !item.Visible; } }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2