Version

UltraExplorerBarGroupSettingsResolved Class

The GroupSettingsResolved object contains the same properties as the GroupSettings object. You can use this object to determine what values are in effect for any given setting of the GroupSettings object. Some properties of the GroupSettings object may be set to their "use default" value, which indicates that the setting in effect for the Group is being inherited rather than explicitly set at the Group level. For these properties, you cannot determine which setting is actually being applied to the Group. However, the properties of the GroupSettingsResolved object will always return a meaningful value that you can examine to determine how the Group will appear or behave.

If you need to examine property settings at the Group level and take action based on the setting in effect for the Group, access the properties via the GroupSettingsResolved object to make sure you will always have a valid value for comparison purposes.

Syntax
'Declaration
 
Public Class UltraExplorerBarGroupSettingsResolved 
public class UltraExplorerBarGroupSettingsResolved 
Example
Thge following code shows how to access the GroupSettings object throught the control's GroupSettings property and the Group's Settings property.

Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinExplorerBar


	Private Sub button89_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button89.Click

		' Modify some of the default Group settings specified at the control level.  These
		' GroupSettings apply to all Groups.  We will then override the settings for a
		' specific Group below.
		Me.ultraExplorerBar1.GroupSettings.AllowEdit = DefaultableBoolean.False
		Me.ultraExplorerBar1.GroupSettings.AllowDrag = DefaultableBoolean.False
		Me.ultraExplorerBar1.GroupSettings.AllowItemDrop = DefaultableBoolean.False
		Me.ultraExplorerBar1.GroupSettings.AllowItemUncheck = DefaultableBoolean.False
		Me.ultraExplorerBar1.GroupSettings.BorderStyleItemArea = UIElementBorderStyle.None
		Me.ultraExplorerBar1.GroupSettings.ContainerHeight = 100
		Me.ultraExplorerBar1.GroupSettings.HeaderButtonStyle = UIElementButtonStyle.Button
		Me.ultraExplorerBar1.GroupSettings.HeaderVisible = DefaultableBoolean.False
		Me.ultraExplorerBar1.GroupSettings.HotTracking = DefaultableBoolean.False
		Me.ultraExplorerBar1.GroupSettings.MaxLines = 5
		Me.ultraExplorerBar1.GroupSettings.ShowToolTips = DefaultableBoolean.False
		Me.ultraExplorerBar1.GroupSettings.Style = GroupStyle.SmallImages
		Me.ultraExplorerBar1.GroupSettings.UseMnemonics = DefaultableBoolean.False



		' Override the default Item settings set at the control level above for the
		' items in the first Group.
		If (Me.ultraExplorerBar1.Groups.Count > 0) Then
			Me.ultraExplorerBar1.Groups(0).Settings.AllowEdit = DefaultableBoolean.True
			Me.ultraExplorerBar1.Groups(0).Settings.AllowDrag = DefaultableBoolean.True
			Me.ultraExplorerBar1.Groups(0).Settings.AllowItemDrop = DefaultableBoolean.True
			Me.ultraExplorerBar1.Groups(0).Settings.AllowItemUncheck = DefaultableBoolean.True
			Me.ultraExplorerBar1.Groups(0).Settings.BorderStyleItemArea = UIElementBorderStyle.Dashed
			Me.ultraExplorerBar1.Groups(0).Settings.ContainerHeight = 200
			Me.ultraExplorerBar1.Groups(0).Settings.HeaderButtonStyle = UIElementButtonStyle.WindowsXPCommandButton
			Me.ultraExplorerBar1.Groups(0).Settings.HeaderVisible = DefaultableBoolean.True
			Me.ultraExplorerBar1.Groups(0).Settings.HotTracking = DefaultableBoolean.True
			Me.ultraExplorerBar1.Groups(0).Settings.MaxLines = 2
			Me.ultraExplorerBar1.Groups(0).Settings.ShowToolTips = DefaultableBoolean.True
			Me.ultraExplorerBar1.Groups(0).Settings.Style = GroupStyle.LargeImagesWithText
			Me.ultraExplorerBar1.Groups(0).Settings.UseMnemonics = DefaultableBoolean.True
		End If

	End Sub
using System.Diagnostics;
using Infragistics.Win;
using Infragistics.Win.UltraWinExplorerBar;


		private void button89_Click(object sender, System.EventArgs e)
		{
			// Modify some of the default Group settings specified at the control level.  These
			// GroupSettings apply to all Groups.  We will then override the settings for a
			// specific Group below.
			this.ultraExplorerBar1.GroupSettings.AllowEdit		= DefaultableBoolean.False;
			this.ultraExplorerBar1.GroupSettings.AllowDrag		= DefaultableBoolean.False;
			this.ultraExplorerBar1.GroupSettings.AllowItemDrop	= DefaultableBoolean.False;
			this.ultraExplorerBar1.GroupSettings.AllowItemUncheck	= DefaultableBoolean.False;
			this.ultraExplorerBar1.GroupSettings.BorderStyleItemArea	= UIElementBorderStyle.None;
			this.ultraExplorerBar1.GroupSettings.ContainerHeight	= 100;
			this.ultraExplorerBar1.GroupSettings.HeaderButtonStyle	= UIElementButtonStyle.Button;
			this.ultraExplorerBar1.GroupSettings.HeaderVisible	= DefaultableBoolean.False;
			this.ultraExplorerBar1.GroupSettings.HotTracking		= DefaultableBoolean.False;
			this.ultraExplorerBar1.GroupSettings.MaxLines		= 5;
			this.ultraExplorerBar1.GroupSettings.ShowToolTips	= DefaultableBoolean.False;
			this.ultraExplorerBar1.GroupSettings.Style		= GroupStyle.SmallImages;
			this.ultraExplorerBar1.GroupSettings.UseMnemonics	= DefaultableBoolean.False;



			// Override the default Item settings set at the control level above for the
			// items in the first Group.
			if (this.ultraExplorerBar1.Groups.Count > 0)
			{
				this.ultraExplorerBar1.Groups[0].Settings.AllowEdit		= DefaultableBoolean.True;
				this.ultraExplorerBar1.Groups[0].Settings.AllowDrag		= DefaultableBoolean.True;
				this.ultraExplorerBar1.Groups[0].Settings.AllowItemDrop	= DefaultableBoolean.True;
				this.ultraExplorerBar1.Groups[0].Settings.AllowItemUncheck	= DefaultableBoolean.True;
				this.ultraExplorerBar1.Groups[0].Settings.BorderStyleItemArea	= UIElementBorderStyle.Dashed;
				this.ultraExplorerBar1.Groups[0].Settings.ContainerHeight	= 200;
				this.ultraExplorerBar1.Groups[0].Settings.HeaderButtonStyle	= UIElementButtonStyle.WindowsXPCommandButton;
				this.ultraExplorerBar1.Groups[0].Settings.HeaderVisible	= DefaultableBoolean.True;
				this.ultraExplorerBar1.Groups[0].Settings.HotTracking		= DefaultableBoolean.True;
				this.ultraExplorerBar1.Groups[0].Settings.MaxLines		= 2;
				this.ultraExplorerBar1.Groups[0].Settings.ShowToolTips	= DefaultableBoolean.True;
				this.ultraExplorerBar1.Groups[0].Settings.Style		= GroupStyle.LargeImagesWithText;
				this.ultraExplorerBar1.Groups[0].Settings.UseMnemonics	= DefaultableBoolean.True;
			}
		}
Requirements

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

See Also