If UseLargeGroupHeaderImages is set to ‘0 – Default’, this property will return True for control style ‘0 – ExplorerBar’ and False for other control styles.
Imports System.Diagnostics Imports Infragistics.Win Imports Infragistics.Win.UltraWinExplorerBar Private Sub Button15_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button15.Click ' Set the UseLargeGroupHeaderImages property to 'Default', then test UseLargeGroupHeaderImagesResolved ' below for each of the control styles. Me.ultraExplorerBar1.UseLargeGroupHeaderImages = DefaultableBoolean.Default ' When we set the control style to ExplorerBar, UseLargeGroupHeaderImagesResolved will return true. Me.ultraExplorerBar1.Style = UltraExplorerBarStyle.ExplorerBar Debug.WriteLine("UseLargeGroupHeaderImagesResolved = " + Me.ultraExplorerBar1.UseLargeGroupHeaderImagesResolved.ToString()) ' When we set the control style to Listbar, UseLargeGroupHeaderImagesResolved will return false. Me.ultraExplorerBar1.Style = UltraExplorerBarStyle.Listbar Debug.WriteLine("UseLargeGroupHeaderImagesResolved = " + Me.ultraExplorerBar1.UseLargeGroupHeaderImagesResolved.ToString()) ' When we set the control style to Toolbox, UseLargeGroupHeaderImagesResolved will return false. Me.ultraExplorerBar1.Style = UltraExplorerBarStyle.Toolbox Debug.WriteLine("UseLargeGroupHeaderImagesResolved = " + Me.ultraExplorerBar1.UseLargeGroupHeaderImagesResolved.ToString()) ' Of course, we can explicitly set the UseLargeGroupHeaderImages property to either true or false for ' any control style to override the default. Me.ultraExplorerBar1.UseLargeGroupHeaderImages = DefaultableBoolean.True ' When we set the control style to Listbar, UseLargeGroupHeaderImagesResolved now returns true Me.ultraExplorerBar1.Style = UltraExplorerBarStyle.Listbar Debug.WriteLine("UseLargeGroupHeaderImagesResolved = " + Me.ultraExplorerBar1.UseLargeGroupHeaderImagesResolved.ToString()) End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinExplorerBar; private void button15_Click(object sender, System.EventArgs e) { // Set the UseLargeGroupHeaderImages property to 'Default', then test UseLargeGroupHeaderImagesResolved // below for each of the control styles. this.ultraExplorerBar1.UseLargeGroupHeaderImages = DefaultableBoolean.Default; // When we set the control style to ExplorerBar, UseLargeGroupHeaderImagesResolved will return true. this.ultraExplorerBar1.Style = UltraExplorerBarStyle.ExplorerBar; Debug.WriteLine("UseLargeGroupHeaderImagesResolved = " + this.ultraExplorerBar1.UseLargeGroupHeaderImagesResolved.ToString()); // When we set the control style to Listbar, UseLargeGroupHeaderImagesResolved will return false. this.ultraExplorerBar1.Style = UltraExplorerBarStyle.Listbar; Debug.WriteLine("UseLargeGroupHeaderImagesResolved = " + this.ultraExplorerBar1.UseLargeGroupHeaderImagesResolved.ToString()); // When we set the control style to Toolbox, UseLargeGroupHeaderImagesResolved will return false. this.ultraExplorerBar1.Style = UltraExplorerBarStyle.Toolbox; Debug.WriteLine("UseLargeGroupHeaderImagesResolved = " + this.ultraExplorerBar1.UseLargeGroupHeaderImagesResolved.ToString()); // Of course, we can explicitly set the UseLargeGroupHeaderImages property to either true or false for // any control style to override the default. this.ultraExplorerBar1.UseLargeGroupHeaderImages = DefaultableBoolean.True; // When we set the control style to Listbar, UseLargeGroupHeaderImagesResolved now returns true; this.ultraExplorerBar1.Style = UltraExplorerBarStyle.Listbar; Debug.WriteLine("UseLargeGroupHeaderImagesResolved = " + this.ultraExplorerBar1.UseLargeGroupHeaderImagesResolved.ToString()); }
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