Share via


ITableColumnDefinition Interface

Definition

Important

This API is not CLS-compliant.

Describes a column of data.

public interface class ITableColumnDefinition
public interface class ITableColumnDefinition
__interface ITableColumnDefinition
[System.CLSCompliant(false)]
public interface ITableColumnDefinition
public interface ITableColumnDefinition
[<System.CLSCompliant(false)>]
type ITableColumnDefinition = interface
type ITableColumnDefinition = interface
Public Interface ITableColumnDefinition
Derived
Attributes

Remarks

Required MEF metadata: Name.

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.

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

MaxWidth

Maximum width of the column (in pixels).

MinWidth

Minumum 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.

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.

Applies to