Version

QuickAccessToolbarModified Event

Occurs when the state or location of the QuickAccessToolbar is changed.
Syntax
'Declaration
 
Public Event QuickAccessToolbarModified As QuickAccessToolbarModifiedEventHandler
public event QuickAccessToolbarModifiedEventHandler QuickAccessToolbarModified
Event Data

The event handler receives an argument of type QuickAccessToolbarModifiedEventArgs containing data related to this event. The following QuickAccessToolbarModifiedEventArgs properties provide information specific to this event.

PropertyDescription
QuickAccessToolbarChangeType An enumerator that specifies how the quickAccessToolbar has been changed.
Tool Returns the tool (if any) that was involved in the change.
Remarks

This event is generated when the QuickAccessToolbar is modified or relocated by the user.

Example
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinToolBars

Private Sub UltraToolbarsManager1_QuickAccessToolbarModified(ByVal sender As System.Object, ByVal e As Infragistics.Win.UltraWinToolbars.QuickAccessToolbarModifiedEventArgs) Handles UltraToolbarsManager1.QuickAccessToolbarModified
	Dim SB As System.Text.StringBuilder = New System.Text.StringBuilder()
	SB.Append("The QuickAccessToolbar has just been modified.")
	SB.Append(Environment.NewLine)
	SB.AppendFormat("The change type was: '{0}'", e.QuickAccessToolbarChangeType)
	SB.Append(Environment.NewLine)

	If (Not e.Tool Is Nothing) Then
		SB.AppendFormat("The tool involved in the change was: '{0}'", e.Tool.Key)
	Else
		SB.AppendFormat("The was no tool involved in this change")
	End If

	Debug.WriteLine(SB.ToString())
End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinToolBars;
using System.Diagnostics;

private void ultraToolbarsManager1_QuickAccessToolbarModified(object sender, QuickAccessToolbarModifiedEventArgs e)
{
	System.Text.StringBuilder SB = new System.Text.StringBuilder();
	SB.Append("The QuickAccessToolbar has just been modified.");
	SB.Append(Environment.NewLine);
	SB.AppendFormat("The change type was: '{0}'", e.QuickAccessToolbarChangeType);
	SB.Append(Environment.NewLine);

	if (e.Tool != null)
		SB.AppendFormat("The tool involved in the change was: '{0}'", e.Tool.Key);
	else
		SB.AppendFormat("The was no tool involved in this change");

	Debug.WriteLine(SB.ToString());            
}
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