Expand Minimize

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)

[FlagsAttribute]
public enum EXPANDFLAGS

Member nameDescription
EXPF_ExpandFolderExpands a single folder.
EXPF_CollapseFolderCollapses a single folder.
EXPF_ExpandFolderRecursivelyExpands a folder and all of its child folders, recursively.
EXPF_ExpandParentsToShowItemExpands parent folders to show the item.
EXPF_SelectItemSelects a single item. This is equivalent to selecting the item with the mouse and removing the selection feedback from any previously selected items.
EXPF_BoldItemBolds the selected item.
EXPF_ExtendSelectItemExtends the selection into a multiple selection. This is equivalent to pressing the SHIFT key and selecting multiple items with the mouse.
EXPF_AddSelectItemAdds an item to a multiple selection. This is equivalent to pressing the CTRL key and selecting an item with the mouse.
EXPF_UnSelectItemDeselects an item.
EXPF_UnBoldItemRemoves bold font from an item.
EXPF_CutHighlightItemHierarchy item has Cut highlighting, which is a dim, grayed-out appearance indicating a pending Cut operation.
EXPF_AddCutHighlightItemProvides Cut highlight feedback to an additional item, without removing the Cut highlighting from other items.
EXPF_UnCutHighlightItemCut highlighting is removed from a hierarchy item.
EXPF_EditItemLabelSets Edit mode for the item label. Use to programmatically set Edit mode.

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft