Simulates user interaction with the control.
Parameters
- actionCode
- Enumeration indicating the action to take.
Return Value
A boolean indicating if the action was performed.
The following code shows how to use the control's PerformAction method to force the control to perform one of its built in actions.
Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinExplorerBar
Private Sub Button23_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button23.Click
' Using the built-in actions of the ExplorerBar control, activate the first group in the
' control and then click it.
Me.ultraExplorerBar1.PerformAction(UltraExplorerBarAction.ActivateFirstGroup)
Me.ultraExplorerBar1.PerformAction(UltraExplorerBarAction.ClickActiveGroup)
End Sub
using System.Diagnostics;
using Infragistics.Win;
using Infragistics.Win.UltraWinExplorerBar;
private void button23_Click(object sender, System.EventArgs e)
{
// Using the built-in actions of the ExplorerBar control, activate the first group in the
// control and then click it.
this.ultraExplorerBar1.PerformAction(UltraExplorerBarAction.ActivateFirstGroup);
this.ultraExplorerBar1.PerformAction(UltraExplorerBarAction.ClickActiveGroup);
}
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