We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

_VSTREEFLAGS Enumeration

Specifies attributes of a tree List.

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 _VSTREEFLAGS

Member nameDescription
TF_NOEXPANSIONNone of the children of this node are expandable.
TF_NORELOCATEIf set, indicates that calls to LocateExpandedList are not necessary and a ReAlign command will close all children.
TF_NOINSERTDELETESet to indicate that this list does not allow insertion and deletion. When set, the tree view will not attempt to insert or delete items.
TF_NOUPDATESIndicates that the list is static and will not change. When set, the code browsing tool will not call UpdateCounter to check for updates.
TF_NOREALIGNIndicates that the list is static. The tree view will not attempt a list realignment.
TF_NOSTATECHANGEWhen set, the tree view will not call ToggleState.
TF_NOEFFECTSIndicates that all list items are to be drawn without special effects.
TF_NOCOLORSIndicates that foreground and background color are standard.
TF_NOEVERYTHINGIndicate a combination of all NO fields.
TF_OWNERDRAWTEXTIndicates that the user can draw the text portion of all items.
TF_OWNERDRAWALLIndicates that the user can draw the glyph and text portion of all lists except hierarchies.

COM Signature

From vsshell.idl:

This enumeration is used by an IVsLiteTreeList to describe its attributes to the IVsLiteTree through the M:Microsoft.VisualStudio.Shell.Interop.IVsLiteTreeList.GetFlags(System.UInt32@) method.

Setting TF_NOEXPANSION indicates that calls to GetListand GetCategoryField are not necessary.

Show: