TableColumnDefinitionBase Class
Describes a column of data.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
| Name | Description | |
|---|---|---|
![]() | TableColumnDefinitionBase() | Creates a new instance of TableColumnDefinitionBase. |
| Name | Description | |
|---|---|---|
![]() | ColumnDefinition | Gets the width of the item in the table's header (which is inherited by the corresponding columns of the entries). |
![]() | Comparer | The StringComparer used to sort and compare entries in this column. This value is used for the filtering, sorting and grouping. |
![]() | DefaultVisible | Indicates whether the column is visible by default. If this returns false, then the column will be hidden the first time there is data in the table that could be shown using this column. |
![]() | DisplayImage | The ImageMoniker shown for this column in the header. |
![]() | DisplayName | Gets the localized name of the column. |
![]() | FilterPresets | The strings that always exist as filterable items for this list. For example, if you want to always show "Errors", "Warnings" and "Messages" as filtering options even if there are no errors then return a new List. |
![]() | HeaderName | Localized name used when adding headers to entries copied from the control to the clipboard. |
![]() | IsCopyable | Indicates whether the user can copy the column's content using the default copy command. |
![]() | IsFilterable | Indicated whether the column can be filtered using the default UI. If this returns false then there will be no built-in UI for letting the user filter the column. |
![]() | IsHideable | Indicates whether the user can hide the column using the default UI. |
![]() | IsMovable | Indicates whether the user can move the column using the default UI. |
![]() | IsResizable | Indicates whether the user can change the column's width using the default UI. |
![]() | IsSortable | Indicates whether the colimn can be sorted using the default UI. If this returns false then there will be no built-in UI for letting the user sort the column. |
![]() | MaxWidth | Maximum width of the column (in pixels). |
![]() | MinWidth | Minumum width of the column (in pixels). The minimum width is 22 pixels (so that there is space to display the sorting and filtering UI). |
![]() | Name | Gets the unique identifier of the column.This value must match the value provided by the Name attribute. |
![]() | TextWrapping | Indicates whether the user can copy the column's content should be wrapped if it is too large to fit. |
| Name | Description | |
|---|---|---|
![]() | CompareContent(ITableEntryHandle^, ITableEntryHandle^) | Compare the sort order of two entries of the data in one column of two different entries. The default comparison does a ITableEntry.TryGetValue(string, out object) using the column name as the key. If the left and right values are strings, then the strings are compared. If they are < IComparables and the same underlying type, then IComparable.CompareTo(object) is used. Otherwise we get the string content for this column and compare those. |
![]() | CreateBucketForEntry(ITableEntryHandle^) | Get the IEntryBucket associated this this column for this entry. The identity of a bucket is based on object.GetHashCode() and object.Equals() two entries that return different objects for their bucket will be grouped together as long as the two buckets are equivalent. This method is unused at the moment. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
![]() | TryCreateColumnContent(ITableEntryHandle^, Boolean, FrameworkElement^) | Get the data for this column of an ITableEntryHandle as an FrameworkElement. The default implementation fails to return a FrameworkElement. |
![]() | TryCreateImageContent(ITableEntryHandle^, Boolean, ImageMoniker) | Get the data for this column of an ITableEntryHandle as an ImageMoniker. The default implementation fails to return an ImageMoniker. |
![]() | TryCreateStringContent(ITableEntryHandle^, Boolean, Boolean, String^) | Get the data for this column of an ITableEntryHandle as a string. The default implementation is to get the value using Name as a key and, if it is a string, display that. |
![]() | TryCreateToolTip(ITableEntryHandle^, Object^) | Get the tool tip for this column of an ITableEntryHandle. The default implementation returns false and sets toolTip to null. |
| Name | Description | |
|---|---|---|
![]() ![]() | EmptyStrings | An empty string. |
Required MEF metadata: Name
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




