Compartilhar via


_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)

Syntax

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

Members

Member name Description
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.

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace