共用方式為


TableColumnDefinitionBase Class

Definition

Important

This API is not CLS-compliant.

Describes a column of data.

public ref class TableColumnDefinitionBase abstract : Microsoft::Internal::VisualStudio::Shell::TableControl::ITableColumnDefinition2, Microsoft::VisualStudio::Shell::TableControl::ITableColumnDefinition
public ref class TableColumnDefinitionBase abstract : Microsoft::VisualStudio::Shell::TableControl::ITableColumnDefinition2
[Windows::Foundation::Metadata::WebHostHidden]
public ref class TableColumnDefinitionBase abstract : Microsoft::VisualStudio::Shell::TableControl::ITableColumnDefinition2
[Windows::Foundation::Metadata::WebHostHidden]
class TableColumnDefinitionBase abstract : Microsoft::VisualStudio::Shell::TableControl::ITableColumnDefinition2
[System.CLSCompliant(false)]
public abstract class TableColumnDefinitionBase : Microsoft.Internal.VisualStudio.Shell.TableControl.ITableColumnDefinition2, Microsoft.VisualStudio.Shell.TableControl.ITableColumnDefinition
[System.CLSCompliant(false)]
public abstract class TableColumnDefinitionBase : Microsoft.VisualStudio.Shell.TableControl.ITableColumnDefinition2
public abstract class TableColumnDefinitionBase : Microsoft.VisualStudio.Shell.TableControl.ITableColumnDefinition2
[<System.CLSCompliant(false)>]
type TableColumnDefinitionBase = class
    interface ITableColumnDefinition
    interface ITableColumnDefinition2
type TableColumnDefinitionBase = class
    interface ITableColumnDefinition
    interface ITableColumnDefinition2
Public MustInherit Class TableColumnDefinitionBase
Implements ITableColumnDefinition, ITableColumnDefinition2
Public MustInherit Class TableColumnDefinitionBase
Implements ITableColumnDefinition2
Inheritance
TableColumnDefinitionBase
Attributes
Implements
Microsoft.Internal.VisualStudio.Shell.TableControl.ITableColumnDefinition2 ITableColumnDefinition ITableColumnDefinition2

Remarks

Required MEF metadata: Name

Constructors

TableColumnDefinitionBase()

Creates a new instance of TableColumnDefinitionBase.

Fields

EmptyStrings

An empty string.

Properties

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.

DefaultVisible

Indicates whether the column is visible by default.

DefaultWidth

Gets the default width associated with a column.

DisplayImage

ImageMoniker shown for this column in the header.

DisplayName

Localized name of the column.

FilterPresets

The strings that always exist as filterable items for this 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.

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 column can be sorted using the default UI.

MaxWidth

Maximum width of the column (in pixels).

MinWidth

Minimum width of the column (in pixels).

Name

Unique identifier of the column.

TextWrapping

Indicates whether the user can copy the column's content should be wrapped if it is too large to fit.

Methods

CompareContent(ITableEntryHandle, ITableEntryHandle)

Compare the sort order of two entries of the data in one column of two different entries.

CreateBucketForEntry(ITableEntryHandle)

Get the IEntryBucket associated this this column for this entry.

CreateBucketForUnknownEntry(ITableColumnDefinition)

Create a bucket that is used when there is no data in the column that could be used to create a normal bucket.

TryCreateColumnContent(ITableEntryHandle, Boolean, FrameworkElement)

Get the data for this column of an ITableEntryHandle as an FrameworkElement.

TryCreateImageContent(ITableEntryHandle, Boolean, ImageMoniker)

Get the data for this column of an ITableEntryHandle as an ImageMoniker.

TryCreateStringContent(ITableEntryHandle, Boolean, Boolean, String)

Get the data for this column of an ITableEntryHandle as a string.

TryCreateToolTip(ITableEntryHandle, Object)

Get the tool tip for this column of an ITableEntryHandle.

TryGetFilterItems(ITableEntryHandle, IEnumerable<String>)

Get the filterable items for the column.

Applies to