ToolBoxTab2::ListView Property

 

Gets or sets a value indicating whether items in a particular ToolBox tab display in List view or Icon view format.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

property bool ListView {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the ToolBox tab is in List view; otherwise, false.

ListView applies on a tab-by-tab basis in the ToolBox. That is, one tab can have List view while another has Icon view.

The List and Icon views are similar to those in Windows Explorer. In List view, the contents of the Toolbox are listed as text descriptions, one after another, with an icon on the left side. In Icon view, each item is represented only by an icon. You can get a ToolTip description of the icon by rolling the mouse over it.

This example toggles the ListView property of a Toolbox tab.

Imports EnvDTE
Imports EnvDTE80
No code example is currently available or this language may not be supported.
Return to top
Show: