バージョン

Editor プロパティ (UltraExplorerBarItemSettingsResolved)

対応する UltraExplorerBarSettingsBase オブジェクトのEditor プロパティの解決された値を返します。
シンタックス
'宣言
 
Public ReadOnly Property Editor As Infragistics.Win.EmbeddableEditorBase
public Infragistics.Win.EmbeddableEditorBase Editor {get;}
解説

注:UltraExplorerBarGroup に属しない UltraExplorerBarItem オブジェクトについては、このプロパティは null (VB では Nothing) を返します。

使用例
Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinExplorerBar


	Private Sub Button52_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button52.Click

		If (Me.ultraExplorerBar1.Groups.Count > 0 AndAlso Me.ultraExplorerBar1.Groups(0).Items.Count > 0) Then
			' Set AllowEdit to true for the first Item in the first Group.
			Me.ultraExplorerBar1.Groups(0).Items(0).Settings.AllowEdit = DefaultableBoolean.True


			' Display some info about the editor attached to the first item in the first Group.
			If (Not Me.ultraExplorerBar1.Groups(0).Items(0).Settings.Editor Is Nothing) Then
				If (Me.ultraExplorerBar1.Groups(0).Items(0).Settings.Editor.IsInEditMode = True) Then
					Debug.WriteLine("The editor for the first item in the first group is in edit mode")
				Else
					Debug.WriteLine("The editor for the first item in the first group is not in edit mode")
				End If
			End If


			' Display whether or not we are using an editor control on the first group.
			If (Not Me.ultraExplorerBar1.Groups(0).Items(0).Settings.EditorControl Is Nothing) Then
				Debug.WriteLine("The first item in the first group is using an editor control.")
			Else
				Debug.WriteLine("The first item in the first group is not using an editor control.")
			End If
		End If

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


		private void button52_Click(object sender, System.EventArgs e)
		{
			if (this.ultraExplorerBar1.Groups.Count				> 0  &&
				this.ultraExplorerBar1.Groups[0].Items.Count	> 0)
			{
				// Set AllowEdit to true for the first Item in the first Group.
				this.ultraExplorerBar1.Groups[0].Items[0].Settings.AllowEdit = DefaultableBoolean.True;


				// Display some info about the editor attached to the first item in the first Group.
				if (this.ultraExplorerBar1.Groups[0].Items[0].Settings.Editor	!= null)
				{
					if (this.ultraExplorerBar1.Groups[0].Items[0].Settings.Editor.IsInEditMode == true)
						Debug.WriteLine("The editor for the first item in the first group is in edit mode");
					else
						Debug.WriteLine("The editor for the first item in the first group is not in edit mode");
				}


				// Display whether or not we are using an editor control on the first group.
				if (this.ultraExplorerBar1.Groups[0].Items[0].Settings.EditorControl != null)
					Debug.WriteLine("The first item in the first group is using an editor control.");
				else
					Debug.WriteLine("The first item in the first group is not using an editor control.");
			}
		}
参照