'Declaration Public ReadOnly Property GroupSettings As UltraExplorerBarGroupSettings
public UltraExplorerBarGroupSettings GroupSettings {get;}
Each property on the UltraExplorerBarGroupSettings 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 UltraExplorerBarGroupSettings object up the resolution chain (UltraExplorerBarGroup and UltraExplorerBar).
If all values up the chain are set to their default settings, then the control provides a suitable default.
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; } }
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