IWpfTableControl Interface

Visual Studio 2015
 

Displays and manages a data as a table.

Namespace:   Microsoft.VisualStudio.Shell.TableControl
Assembly:  Microsoft.VisualStudio.Shell.Immutable.14.0 (in Microsoft.VisualStudio.Shell.Immutable.14.0.dll)

[CLSCompliantAttribute(false)]
public interface class IWpfTableControl : IDisposable

NameDescription
System_CAPS_pubpropertyAutoSubscribe

Indicates whether this table control will automatically subscribe to all data sources added to its Manager.

System_CAPS_pubpropertyColumnDefinitionManager

Gets the ITableColumnDefinitionManager used by this (and every other) IWpfTableControl.

System_CAPS_pubpropertyColumnStates

Gets a snapshot of the current column states.

System_CAPS_pubpropertyControl

Gets the WPF control that displays the data from the activated ITableDataSources.

System_CAPS_pubpropertyEntries

Gets the entries displayed in the control.

System_CAPS_pubpropertyManager

Gets the ITableManager that provides the data for this control.

System_CAPS_pubpropertySelectedEntries

Gets or sets entries selected in the control.

System_CAPS_pubpropertySelectedEntry

Gets the selected entry in the table control. Returns null if no items are selected. If multiple items are selected, then we return whatever item considered (by the underlying WPF controls consider to be the selected item.

System_CAPS_pubpropertySelectedOrFirstEntry

Gets the selected entry in the table control or, if no entry is selected the first entry.

System_CAPS_pubpropertySelectionMode

Gets or sets the selection mode of the table control. The default is Extended (multi-select with modifier).

System_CAPS_pubpropertySortFunction

Gets or sets the default sort function associated with the table control.

NameDescription
System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodForceUpdateAsync()

Force the table control to begin an update (which may not happen immediately).

System_CAPS_pubmethodGetFilter(String^)

Get the filter for the specified <keyif it exists, or null if there is no corresponding filter.

System_CAPS_pubmethodRefreshUI()

Force the elements in the table to be redrawn (because, for example, the user changed a setting that changes the way file names are displayed).

System_CAPS_pubmethodSelectAll()

Selects all entries.

System_CAPS_pubmethodSetFilter(String^, IEntryFilter^)

Set the filter for the specified key.

System_CAPS_pubmethodSubscribeToDataSource(ITableDataSource^)

Start subscribing to the ITableEntry objects produced by a ITableDataSource.

System_CAPS_pubmethodUnselectAll()

Clears all the selections.

System_CAPS_pubmethodUnsubscribeFromDataSource(ITableDataSource^)

Stop subscribing to the specified ITableDataSource.

NameDescription
System_CAPS_pubeventEntriesChanged

Raised (on the thread that created the control) after the controls entries have changed.

System_CAPS_pubeventFiltersChanged

Raised whenever the table's filter is changed via SetFilter.

System_CAPS_pubeventPreEntriesChanged

Raised before the control entries have changed.

All methods on this interface, unless otherwise marked, can be called from any thread. All events raised by this interface will be raised on the same thread that created the table control.

Return to top
Show: