Version

UltraExplorerBarUIElement Class

The main UIElement for an UltraExplorerBar.
Syntax
'Declaration
 
Public Class UltraExplorerBarUIElement 
   Inherits Infragistics.Win.ControlUIElementBase
   Implements Infragistics.Win.UIAutomation.IProvideUIAutomation 
public class UltraExplorerBarUIElement : Infragistics.Win.ControlUIElementBase, Infragistics.Win.UIAutomation.IProvideUIAutomation  
Remarks

The UltraExplorerBarUIElement occupies the entire area of the control.

Example
The following code demonstrates how to get information about the control's main UIElement. UIElements represent discrete areas of the control and are the building blocks for Infragistics' Presentation Layer Framework (PLF).

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


	Private Sub Button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button14.Click

		' Display the size and number of elements in the control's main UIElement.
		Dim messageText As String = "The size of the control's main element is: {0}, and it contains {1} element(s)"
		Dim messageTextFormatted As String = String.Format(messageText, Me.ultraExplorerBar1.UIElement.Rect.Size.ToString(), _
				  Me.ultraExplorerBar1.UIElement.ChildElements.Count)

		Debug.WriteLine(messageTextFormatted)

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


		private void button14_Click(object sender, System.EventArgs e)
		{
			// Display the size and number of elements in the control's main UIElement.
			string messageText			= "The size of the control's main element is: {0}, and it contains {1} element(s)";
			string messageTextFormatted = string.Format(messageText, this.ultraExplorerBar1.UIElement.Rect.Size.ToString(),
																	 this.ultraExplorerBar1.UIElement.ChildElements.Count);

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