バージョン

UIElement プロパティ (UltraExplorerBar)

UltraExplorerBarのメインのUIElementを返すプロパティ (読み取り専用)。
シンタックス
'宣言
 
Public ReadOnly Property UIElement As UltraExplorerBarUIElement
public UltraExplorerBarUIElement UIElement {get;}
解説

コントロールにあるすべての可視のグラフィックを含むUIElementを返します。

使用例
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);
		}
参照