バージョン

Visible プロパティ (UltraExplorerBarItem)

UltraExplorerBarItem の表示状態、つまり適切な状況のもとで UltraExplorerBarItem が表示されるかどうかを取得または設定します。
シンタックス
'宣言
 
Public Property Visible As Boolean
public bool Visible {get; set;}
使用例
Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinExplorerBar


	Private Sub Button42_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button42.Click

		' Toggle the visible status of each Item in the ActiveGroup.
		If (Me.ultraExplorerBar1.ActiveGroup Is Nothing) Then
			Return
		End If

		Dim item As UltraExplorerBarItem
		For Each item In Me.ultraExplorerBar1.ActiveGroup.Items
			item.Visible = Not item.Visible
		Next

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


		private void button42_Click(object sender, System.EventArgs e)
		{
			// Toggle the visible status of each Item in the ActiveGroup.
			if (this.ultraExplorerBar1.ActiveGroup  ==  null)
				return;

			foreach(UltraExplorerBarItem item in this.ultraExplorerBar1.ActiveGroup.Items)
			{
				item.Visible = !item.Visible;
			}
		}
参照