_VSTREEFLAGS Enum

Definition

Specifies attributes of a tree List.

This enumeration supports a bitwise combination of its member values.

public enum class _VSTREEFLAGS
public enum class _VSTREEFLAGS
enum _VSTREEFLAGS
[System.Flags]
public enum _VSTREEFLAGS
[<System.Flags>]
type _VSTREEFLAGS = 
Public Enum _VSTREEFLAGS
Inheritance
_VSTREEFLAGS
Attributes

Fields

Name Value Description
TF_NOEXPANSION 1

None of the children of this node are expandable.

TF_NORELOCATE 2

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

TF_NOINSERTDELETE 4

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_NOUPDATES 8

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

TF_NOREALIGN 16

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

TF_NOSTATECHANGE 32

When set, the tree view will not call ToggleState(UInt32, UInt32).

TF_NOEFFECTS 64

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

TF_NOCOLORS 128

Indicates that foreground and background color are standard.

TF_OWNERDRAWTEXT 128

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

TF_NOEVERYTHING 255

Indicate a combination of all NO fields.

TF_OWNERDRAWALL 384

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

Remarks

COM Signature

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.

Applies to