バージョン

Checked プロパティ

UltraExplorerBarItem がチェック状態であるかどうかを返すか、設定します。このプロパティは、UltraExplorerBarItemSettings.Style が「1 - StateButton」の場合のみ意味があります。
シンタックス
'宣言
 
Public Property Checked As Boolean
public bool Checked {get; set;}
使用例
Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinExplorerBar


	Private Sub Button37_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button37.Click

		' Look for the first StateButton type Item that is Checked and in view and display its text.
		Dim group As UltraExplorerBarGroup

		For Each group In Me.ultraExplorerBar1.Groups
			Dim item As UltraExplorerBarItem

			For Each item In group.Items
				If (item.SettingsResolved.Style = ItemStyle.StateButton AndAlso _
				 item.Checked = True AndAlso _
				 item.IsInView = True) Then
					Debug.WriteLine("The first checked item that is in view is: '" + item.Text + "'")

					Exit For
				End If
			Next
		Next

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


		private void button37_Click(object sender, System.EventArgs e)
		{
			// Look for the first StateButton type Item that is Checked and in view and display its text.
			foreach(UltraExplorerBarGroup group in this.ultraExplorerBar1.Groups)
			{
				foreach(UltraExplorerBarItem item in group.Items)
				{
					if (item.SettingsResolved.Style == ItemStyle.StateButton	&&
						item.Checked				== true						&&
						item.IsInView				== true)
					{
						Debug.WriteLine("The first checked item that is in view is: '" + item.Text + "'");

						break;
					}
				}
			}
		}
参照