_VSTREEFLAGS Enumeration

 

Specifies attributes of a tree List.

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

[FlagsAttribute]
public enum _VSTREEFLAGS

Member nameDescription
TF_NOCOLORS

Indicates that foreground and background color are standard.

TF_NOEFFECTS

Indicates that all list items are to be drawn without special effects.

TF_NOEVERYTHING

Indicate a combination of all NO fields.

TF_NOEXPANSION

None of the children of this node are expandable.

TF_NOINSERTDELETE

Set 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_NOREALIGN

Indicates that the list is static. The tree view will not attempt a list realignment.

TF_NORELOCATE

If set, indicates that calls to LocateExpandedList are not necessary and a ReAlign command will close all children.

TF_NOSTATECHANGE

When set, the tree view will not call ToggleState.

TF_NOUPDATES

Indicates that the list is static and will not change. When set, the code browsing tool will not call UpdateCounter to check for updates.

TF_OWNERDRAWALL

Indicates that the user can draw the glyph and text portion of all lists except hierarchies.

TF_OWNERDRAWTEXT

Indicates that the user can draw the text portion of all items.

From vsshell.idl:

This enumeration is used by an IVsLiteTreeList to describe its attributes to the IVsLiteTree through the GetFlags method.

Setting TF_NOEXPANSION indicates that calls to GetList and GetCategoryField are not necessary.

Return to top
Show: