Compartir a través de


VSTASKCOLUMN Struct

Definition

Column definitions for tasks.

public value class VSTASKCOLUMN
public value class VSTASKCOLUMN
struct VSTASKCOLUMN
public struct VSTASKCOLUMN
type VSTASKCOLUMN = struct
Public Structure VSTASKCOLUMN
Inheritance
VSTASKCOLUMN

Remarks

These values are returned from GetColumn.

COM Signature

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;  

Fields

bstrCanonicalName

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

bstrHeading

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

bstrLocalizedName

String containing the localized name for the column header.

bstrTip

String containing the tooltip for the column header.

cxDefaultWidth

The default column width in pixels.

cxMinWidth

The minimum column width in pixels.

fAllowHide

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

fAllowUserSort

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

fDescendingSort

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

fDynamicSize

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

fFitContent

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

fMoveable

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

fShowSortArrow

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

fSizeable

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

fVisibleByDefault

Flag indicating whether this column is visible by default.

iDefaultSortPriority

Specifies if a column is sorted by default.

iField

The field index designated by the task provider.

iImage

Index into the provider's image list.

Applies to