Table of Contents

Class TableDataContext<T>

Namespace
HeBianGu.Systems.Design
Assembly
HeBianGu.Systems.Design.dll
public class TableDataContext<T> : RangeDesignDataContextBase<DataGridDesignPresenter>, INotifyPropertyChanged, IDisplayer, IDesignDataContext

Type Parameters

T
Inheritance
TableDataContext<T>
Implements
Derived
Inherited Members
Extension Methods

Constructors

TableDataContext(IEnumerable<T>, IEnumerable<ColumnPropertyInfo>)

public TableDataContext(IEnumerable<T> itemsSource, IEnumerable<ColumnPropertyInfo> columnPropertyInfos)

Parameters

itemsSource IEnumerable<T>
columnPropertyInfos IEnumerable<ColumnPropertyInfo>

TableDataContext(IEnumerable<T>, int)

public TableDataContext(IEnumerable<T> itemsSource, int visibleCount = 0)

Parameters

itemsSource IEnumerable<T>
visibleCount int

Properties

ColumnPropertyInfos

[Display(Name = "列头设置")]
public IEnumerable<ColumnPropertyInfo> ColumnPropertyInfos { get; }

Property Value

IEnumerable<ColumnPropertyInfo>

ItemsSource

[Browsable(false)]
public IEnumerable<T> ItemsSource { get; }

Property Value

IEnumerable<T>

Methods

RefreshPresenter(DataGridDesignPresenter)

public override void RefreshPresenter(DataGridDesignPresenter presenter)

Parameters

presenter DataGridDesignPresenter