Version

ItemSettings Property (UltraExplorerBar)

Returns the UltraExplorerBarItemSettings object for the control. The UltraExplorerBarItemSettings object contains values for various UltraExplorerBarItem related settings, and can be found at the UltraExplorerBarGroup, UltraExplorerBarItem and control levels.
Syntax
'Declaration
 
Public ReadOnly Property ItemSettings As UltraExplorerBarItemSettings
public UltraExplorerBarItemSettings ItemSettings {get;}
Remarks

Each property on the UltraExplorerBarItemSettings object is initialized with a default value.

The actual value that is ultimately used for each property is determined by resolving the value of the property in each UltraExplorerBarItemSettings object up the resolution chain (UltraExplorerBarGroup, UltraExplorerBarItem and UltraExplorerBar).

If all values up the chain are set to their default settings, then the control provides a suitable default.

Example
The following code shows how to apply default settings for all Items in the control and then override those settings for the Items in a particular group.

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


	Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button9.Click

		' Modify some of the default Item settings specified at the control level.  These
		' ItemSettings apply to all Items in all Groups.  We will then override
		' the settings for Items in a specific Group below.
		Me.ultraExplorerBar1.ItemSettings.AllowEdit = DefaultableBoolean.False
		Me.ultraExplorerBar1.ItemSettings.AllowDragCopy = ItemDragStyle.None
		Me.ultraExplorerBar1.ItemSettings.AllowDragMove = ItemDragStyle.None
		Me.ultraExplorerBar1.ItemSettings.Enabled = DefaultableBoolean.False
		Me.ultraExplorerBar1.ItemSettings.Height = 18
		Me.ultraExplorerBar1.ItemSettings.HotTrackBorderStyle = UIElementBorderStyle.None
		Me.ultraExplorerBar1.ItemSettings.HotTracking = DefaultableBoolean.False
		Me.ultraExplorerBar1.ItemSettings.HotTrackStyle = ItemHotTrackStyle.HighlightText
		Me.ultraExplorerBar1.ItemSettings.Indent = 5
		Me.ultraExplorerBar1.ItemSettings.MaxLines = 5
		Me.ultraExplorerBar1.ItemSettings.SeparatorStyle = SeparatorStyle.Horizontal
		Me.ultraExplorerBar1.ItemSettings.ShowToolTips = DefaultableBoolean.False
		Me.ultraExplorerBar1.ItemSettings.Style = ItemStyle.StateButton
		Me.ultraExplorerBar1.ItemSettings.UseDefaultImage = DefaultableBoolean.True
		Me.ultraExplorerBar1.ItemSettings.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).ItemSettings.AllowEdit = DefaultableBoolean.True
			Me.ultraExplorerBar1.Groups(0).ItemSettings.AllowDragCopy = ItemDragStyle.WithinGroupOnly
			Me.ultraExplorerBar1.Groups(0).ItemSettings.AllowDragMove = ItemDragStyle.WithinGroupOnly
			Me.ultraExplorerBar1.Groups(0).ItemSettings.Enabled = DefaultableBoolean.True
			Me.ultraExplorerBar1.Groups(0).ItemSettings.Height = 22
			Me.ultraExplorerBar1.Groups(0).ItemSettings.HotTrackBorderStyle = UIElementBorderStyle.Dotted
			Me.ultraExplorerBar1.Groups(0).ItemSettings.HotTracking = DefaultableBoolean.True
			Me.ultraExplorerBar1.Groups(0).ItemSettings.HotTrackStyle = ItemHotTrackStyle.HighlightEntireItem
			Me.ultraExplorerBar1.Groups(0).ItemSettings.Indent = 0
			Me.ultraExplorerBar1.Groups(0).ItemSettings.MaxLines = 3
			Me.ultraExplorerBar1.Groups(0).ItemSettings.SeparatorStyle = SeparatorStyle.Vertical
			Me.ultraExplorerBar1.Groups(0).ItemSettings.ShowToolTips = DefaultableBoolean.True
			Me.ultraExplorerBar1.Groups(0).ItemSettings.Style = ItemStyle.Button
			Me.ultraExplorerBar1.Groups(0).ItemSettings.UseDefaultImage = DefaultableBoolean.False
			Me.ultraExplorerBar1.Groups(0).ItemSettings.UseMnemonics = DefaultableBoolean.True
		End If

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


		private void button9_Click(object sender, System.EventArgs e)
		{
			// Modify some of the default Item settings specified at the control level.  These
			// ItemSettings apply to all Items in all Groups.  We will then override
			// the settings for Items in a specific Group below.
			this.ultraExplorerBar1.ItemSettings.AllowEdit			= DefaultableBoolean.False;
			this.ultraExplorerBar1.ItemSettings.AllowDragCopy		= ItemDragStyle.None;
			this.ultraExplorerBar1.ItemSettings.AllowDragMove		= ItemDragStyle.None;
			this.ultraExplorerBar1.ItemSettings.Enabled				= DefaultableBoolean.False;
			this.ultraExplorerBar1.ItemSettings.Height				= 18;
			this.ultraExplorerBar1.ItemSettings.HotTrackBorderStyle	= UIElementBorderStyle.None;
			this.ultraExplorerBar1.ItemSettings.HotTracking			= DefaultableBoolean.False;
			this.ultraExplorerBar1.ItemSettings.HotTrackStyle		= ItemHotTrackStyle.HighlightText;
			this.ultraExplorerBar1.ItemSettings.Indent				= 5;
			this.ultraExplorerBar1.ItemSettings.MaxLines			= 5;
			this.ultraExplorerBar1.ItemSettings.SeparatorStyle		= SeparatorStyle.Horizontal;
			this.ultraExplorerBar1.ItemSettings.ShowToolTips		= DefaultableBoolean.False;
			this.ultraExplorerBar1.ItemSettings.Style				= ItemStyle.StateButton;
			this.ultraExplorerBar1.ItemSettings.UseDefaultImage		= DefaultableBoolean.True;
			this.ultraExplorerBar1.ItemSettings.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].ItemSettings.AllowEdit			= DefaultableBoolean.True;
				this.ultraExplorerBar1.Groups[0].ItemSettings.AllowDragCopy		= ItemDragStyle.WithinGroupOnly;
				this.ultraExplorerBar1.Groups[0].ItemSettings.AllowDragMove		= ItemDragStyle.WithinGroupOnly;
				this.ultraExplorerBar1.Groups[0].ItemSettings.Enabled			= DefaultableBoolean.True;
				this.ultraExplorerBar1.Groups[0].ItemSettings.Height			= 22;
				this.ultraExplorerBar1.Groups[0].ItemSettings.HotTrackBorderStyle	= UIElementBorderStyle.Dotted;
				this.ultraExplorerBar1.Groups[0].ItemSettings.HotTracking		= DefaultableBoolean.True;
				this.ultraExplorerBar1.Groups[0].ItemSettings.HotTrackStyle		= ItemHotTrackStyle.HighlightEntireItem;
				this.ultraExplorerBar1.Groups[0].ItemSettings.Indent			= 0;
				this.ultraExplorerBar1.Groups[0].ItemSettings.MaxLines			= 3;
				this.ultraExplorerBar1.Groups[0].ItemSettings.SeparatorStyle	= SeparatorStyle.Vertical;
				this.ultraExplorerBar1.Groups[0].ItemSettings.ShowToolTips		= DefaultableBoolean.True;
				this.ultraExplorerBar1.Groups[0].ItemSettings.Style				= ItemStyle.Button;
				this.ultraExplorerBar1.Groups[0].ItemSettings.UseDefaultImage	= DefaultableBoolean.False;
				this.ultraExplorerBar1.Groups[0].ItemSettings.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