Returns whether the
UltraExplorerBarGroup is actually visible in the control.
The following code iterates through all the Groups in the control, and for each one that is not currently in view, resets all the group's appearance properties to their defaults.
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
'Declaration
Public ReadOnly Property IsInView As Boolean
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();
}
}
'Declaration
Public ReadOnly Property IsInView As Boolean
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