Поделиться через


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. Кроме того, группирование не будет отображаться, если только все объекты GroupColumns не предоставляются хотя бы одним ITableDataSourceпараметром .

Определение этого интерфейса намеренно пусто (все данные предоставляются через метаданные).

Применяется к