共用方式為


_VSTREEDISPLAYSTATE Enumeration

Specifies the bit fields of interest in the State member of the VSTREEDISPLAYDATA structure.

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

Syntax

'Declaration
Public Enumeration _VSTREEDISPLAYSTATE
public enum _VSTREEDISPLAYSTATE
public enum class _VSTREEDISPLAYSTATE
type _VSTREEDISPLAYSTATE
public enum _VSTREEDISPLAYSTATE

Members

Member name Description
TDS_BOLD Set to indicate that item text is bold.
TDS_CUT Set to indicate that the item is selected for a cut-paste operation.
TDS_DISPLAYLINK Draws item text in same color as IE link, underlines, and changes cursor on mouse-over.
TDS_DROPHILITED Set to indicate that the item is highlighted as a drag-drop target.
TDS_EXPANDED Used for notification only. Do not set.
TDS_FORCESELECT For internal use. Do not set.
TDS_GRAYTEXT Set to indicate that item text is grayed out.
TDS_OVERLAYMASK For internal use. Do not set.
TDS_SELECTED For internal use. Do not set.
TDS_STATEIMAGEMASK Set to indicate that an image file handle is specified in VSTREEDISPLAYDATA.
TDS_TEXTTYPEMASK For internal use. Do not set.
TDS_USERMASK Same as TDS_STATEIMAGEMASK.

Remarks

COM Signature

From vsshell.idl:

TDS_EXPANDED is passed in to GetDisplayData to indicate that a tree list node has been expanded. This could be used to return a different display glyph based on the expanded state.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace