property Item.Visible as Boolean
Specifies whether the item is visible or hidden.

TypeDescription
Boolean A boolean expression that indicates whether the item is visible or hidden.
Use the Visible property to show or hide an item. Use the Position property to specify the item's position. Use the RemoveItem method to remove an item from the group. Use the Caption property to specify the caption of the item. Use the ItemByPos property to retrieve an item giving its position. Use the Image property to add or remove an icon or a picture to the item. Use the ItemHeight property to specify the height for all items in the group.

The following VB sample hides the first item in the first group:

With ExplorerBar1.Groups(0).ItemByPos(0)
    .Visible = False
End With

The following C++ sample hides the first item in the first group:

#include "Item.h"
#include "Group.h"
#include "Groups.h"
CGroups groups = m_explorerbar.GetGroups();
CGroup group = groups.GetItem( COleVariant(long(0)) );
CItem item = group.GetItemByPos( 0 );
item.SetVisible( FALSE );

The following VB.NET sample hides the first item in the first group:

With AxExplorerBar1.Groups(0).ItemByPos(0)
    .Visible = False
End With

The following C# sample hides the first item in the first group:

axExplorerBar1.Groups[0].get_ItemByPos(0).Visible = false;

The following VFP sample hides the first item in the first group:

with thisform.ExplorerBar1
	with .Groups.Item(0)
		with .ItemByPos(0)
			.Visible = .f.
		endwith
	endwith
endwith