IDefaultColumnGroup 介面

定義

要定義預設群組的匯出。

public interface class IDefaultColumnGroup
public interface IDefaultColumnGroup
type IDefaultColumnGroup = interface
Public Interface IDefaultColumnGroup

備註

這是MEF匯出,應該以下列屬性標註:

[Export(typeof(IDefaultColumnGroup))]
[Name(nameof(ProjectAndDefinitionGroupingSet))]             // Requied, name of the default group
[Order(After = ...)]                                        // Optional, specifies the default location of the grouping in the dropdown.
[ManagerType(...)]                                          // Optional, the names of the TableManagers that support this grouping.
[DataSourceType(...)]                                       // Optional, the names of the data source types that support this grouping.
[DataSource(...)]                                           // Optional, the names of the data sources that support this grouping.
[GroupColumns(...)]                                         // Required, the names of the columns in the grouping.

只有在符合 ManagerType、DataSourceType & DataSource 條件約束時,才會顯示群組。 此外,除非至少有一個 ITableDataSource提供所有 GroupColumns,否則不會顯示群組。

此介面的定義是刻意空白的, (所有數據都是透過元數據) 提供。

適用於