VSTASKCOLUMN Structure

 

Column definitions for tasks.

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

public struct VSTASKCOLUMN

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

NameDescription
System_CAPS_pubfieldbstrCanonicalName

String containing the non-localized name of the column header. It must be unique within this provider's column list.

System_CAPS_pubfieldbstrHeading

String containing the text in header. bstrHeading may be null to indicate an image.

System_CAPS_pubfieldbstrLocalizedName

String containing the localized name for the column header.

System_CAPS_pubfieldbstrTip

String containing the tooltip for the column header.

System_CAPS_pubfieldcxDefaultWidth

The default column width in pixels.

System_CAPS_pubfieldcxMinWidth

The minimum column width in pixels.

System_CAPS_pubfieldfAllowHide

Flag indicating whether the user is allowed to change the column's visibility.

System_CAPS_pubfieldfAllowUserSort

Flag indicating whether the user is allowed to sort by clicking on the column's header.

System_CAPS_pubfieldfDescendingSort

Flag indicating the column is sorted in descending order (default is ascending).

System_CAPS_pubfieldfDynamicSize

Flag indicating whether the task list is allowed to resize the column automatically to make content fit better.

System_CAPS_pubfieldfFitContent

Column will be automatically resized to fit whenever its content changes.

System_CAPS_pubfieldfMoveable

Flag indicating whether the column may be dragged to another position by the user.

System_CAPS_pubfieldfShowSortArrow

Flag indicating whether a sort arrow is shown in the header when the list is sorted by this column.

System_CAPS_pubfieldfSizeable

Flag indicating whether the column may be resized by the user.

System_CAPS_pubfieldfVisibleByDefault

Flag indicating whether this column is visible by default.

System_CAPS_pubfieldiDefaultSortPriority

Specifies if a column is sorted by default.

System_CAPS_pubfieldiField

The field index designated by the task provider.

System_CAPS_pubfieldiImage

Index into the provider's image list.

These values are returned from GetColumn.

From vsshell80.idl:

typedef struct _VSTASKCOLUMN
{
    int     iField;
    BSTR    bstrHeading;
    int     iImage;
    BOOL    fShowSortArrow;
    BOOL    fAllowUserSort;
    BOOL    fVisibleByDefault;
    BOOL    fAllowHide;
    BOOL    fSizeable;
    BOOL    fMoveable;
    int     iDefaultSortPriority;
    BOOL    fDescendingSort;
    int     cxMinWidth;
    int     cxDefaultWidth;
    BOOL    fDynamicSize;
    BSTR    bstrCanonicalName;
    BSTR    bstrLocalizedName;
    BSTR    bstrTip;
    BOOL    fFitContent;
} VSTASKCOLUMN;

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: