public TpListView() { AutoScroll = true; header = new TpListViewHeader(); Controls.Add(header); header.ChangeSizeEvent += header_ChangeSizeEvent; header.headerClickedEvent += header_ClickToSort; }