ITableColumnDefinition2 Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public interface class ITableColumnDefinition2 : Microsoft::VisualStudio::Shell::TableControl::ITableColumnDefinition
public interface class ITableColumnDefinition2 : Microsoft::VisualStudio::Shell::TableControl::ITableColumnDefinition
__interface ITableColumnDefinition2 : Microsoft::VisualStudio::Shell::TableControl::ITableColumnDefinition
public interface ITableColumnDefinition2 : Microsoft.VisualStudio.Shell.TableControl.ITableColumnDefinition
type ITableColumnDefinition2 = interface
interface ITableColumnDefinition
Public Interface ITableColumnDefinition2
Implements ITableColumnDefinition
- Derived
- Implements
Properties
ColumnDefinition |
Gets the width of the item in the table's header (which is inherited by the corresponding columns of the entries). (Inherited from ITableColumnDefinition) |
Comparer |
Gets the StringComparer used to sort and compare entries in this column. This value is used for the filtering, sorting and grouping. (Inherited from ITableColumnDefinition) |
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. (Inherited from ITableColumnDefinition) |
DefaultWidth |
Gets the default width associated with a column. |
DisplayImage |
ImageMoniker shown for this column in the header. (Inherited from ITableColumnDefinition) |
DisplayName |
Localized name of the column. (Inherited from ITableColumnDefinition) |
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 (Inherited from ITableColumnDefinition) |
HeaderName |
Localized name used when adding headers to entries copied from the control to the clipboard. (Inherited from ITableColumnDefinition) |
IsCopyable |
Indicates whether the user can copy the column's content using the default copy command. (Inherited from ITableColumnDefinition) |
IsFilterable |
Indicates 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. (Inherited from ITableColumnDefinition) |
IsHideable |
Indicates whether the user can hide the column using the default UI. (Inherited from ITableColumnDefinition) |
IsMovable |
Indicates whether the user can move the column using the default UI. (Inherited from ITableColumnDefinition) |
IsResizable |
Indicates whether the user can change the column's width using the default UI. (Inherited from ITableColumnDefinition) |
IsSortable |
Indicates whether the column 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. (Inherited from ITableColumnDefinition) |
MaxWidth |
Maximum width of the column (in pixels). (Inherited from ITableColumnDefinition) |
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. (Inherited from ITableColumnDefinition) |
Name |
Unique identifier of the column. This value must match the value provided by the Name attribute. (Inherited from ITableColumnDefinition) |
TextWrapping |
Indicates whether the user can copy the column's content should be wrapped if it is too large to fit. (Inherited from ITableColumnDefinition) |
Methods
CompareContent(ITableEntryHandle, ITableEntryHandle) |
Compare the sort order of two entries of the data in one column of two different entries. The default comparisons 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. (Inherited from ITableColumnDefinition) |
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. (Inherited from ITableColumnDefinition) |
TryCreateColumnContent(ITableEntryHandle, Boolean, FrameworkElement) |
Get the data for this column of an ITableEntryHandle as an FrameworkElement. The default implementation fails to return a FrameworkElement. (Inherited from ITableColumnDefinition) |
TryCreateImageContent(ITableEntryHandle, Boolean, ImageMoniker) |
Get the data for this column of an ITableEntryHandle as an ImageMoniker. The default implementation fails to return an ImageMoniker. (Inherited from ITableColumnDefinition) |
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. (Inherited from ITableColumnDefinition) |
TryCreateToolTip(ITableEntryHandle, Object) |
Get the tool tip for this column of an ITableEntryHandle. The default implementation returns false and sets |
TryGetFilterItems(ITableEntryHandle, IEnumerable<String>) |
Get the filterable items for the column. |