Partager via


EXPANDFLAGS Enumeration

Controls the state or the appearance of items within a hierarchy, or the hierarchy itself.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration EXPANDFLAGS
[FlagsAttribute]
public enum EXPANDFLAGS
[FlagsAttribute]
public enum class EXPANDFLAGS
[<FlagsAttribute>]
type EXPANDFLAGS
public enum EXPANDFLAGS

Members

Member name Description
EXPF_AddCutHighlightItem Provides Cut highlight feedback to an additional item, without removing the Cut highlighting from other items.
EXPF_AddSelectItem Adds an item to a multiple selection. This is equivalent to pressing the CTRL key and selecting an item with the mouse.
EXPF_BoldItem Bolds the selected item.
EXPF_CollapseFolder Collapses a single folder.
EXPF_CutHighlightItem Hierarchy item has Cut highlighting, which is a dim, grayed-out appearance indicating a pending Cut operation.
EXPF_EditItemLabel Sets Edit mode for the item label. Use to programmatically set Edit mode.
EXPF_ExpandFolder Expands a single folder.
EXPF_ExpandFolderRecursively Expands a folder and all of its child folders, recursively.
EXPF_ExpandParentsToShowItem Expands parent folders to show the item.
EXPF_ExtendSelectItem Extends the selection into a multiple selection. This is equivalent to pressing the SHIFT key and selecting multiple items with the mouse.
EXPF_SelectItem Selects a single item. This is equivalent to selecting the item with the mouse and removing the selection feedback from any previously selected items.
EXPF_UnBoldItem Removes bold font from an item.
EXPF_UnCutHighlightItem Cut highlighting is removed from a hierarchy item.
EXPF_UnSelectItem Deselects an item.

Remarks

COM Signature

From vsshell.idl:

These enumerations can be used for individual items, multiple items, or for the hierarchy alone. To specify the hierarchy, set the itemid parameter to VSITEMID_ROOT.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace