Note: The IsInView property returns true if any part of the group is contained within the viewable area of the control. The group's UIElement property can be used to determine whether the group is in full view.
Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinExplorerBar Private Sub Button29_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button29.Click ' For Groups that are not currently in view, reset the Group's appearance properties to ' their default setttings. Dim i As Integer For i = 0 To Me.ultraExplorerBar1.Groups.Count - 1 If (Me.ultraExplorerBar1.Groups(i).IsInView = False) Then Me.ultraExplorerBar1.Groups(i).Settings.AppearancesSmall.Appearance.Reset() End If Next End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinExplorerBar; private void button29_Click(object sender, System.EventArgs e) { // For Groups that are not currently in view, reset the Group's appearance properties to // their default setttings. for (int i = 0; i < this.ultraExplorerBar1.Groups.Count; i++) { if (this.ultraExplorerBar1.Groups[i].IsInView == false) this.ultraExplorerBar1.Groups[i].Settings.AppearancesSmall.Appearance.Reset(); } }
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