Closed YevgeniyShunevych closed 8 months ago
Create TableHeaderList<TItem, TOwner> class inherited from ControlList<TItem, TOwner> with indexer:
TableHeaderList<TItem, TOwner>
ControlList<TItem, TOwner>
public TItem this[string headerText] { get; }
Change the property type of Table<THeader, TRow, TOwner>.Headers to the newly created type:
Table<THeader, TRow, TOwner>.Headers
public TableHeaderList<THeader, TOwner> Headers { get; }
Create
TableHeaderList<TItem, TOwner>
class inherited fromControlList<TItem, TOwner>
with indexer:Change the property type of
Table<THeader, TRow, TOwner>.Headers
to the newly created type: