Example #1
0
        public ListViewEx()
        {
            SetStyle(ControlStyles.UserPaint, false);

            // Control needs to have full row select and detail
            // view enable otherwise it won't behave as intended
            FullRowSelect = true;
            View          = View.Details;
            HeaderStyle   = ColumnHeaderStyle.Nonclickable;
            InitializeCheckBoxesImageList();
            ListViewItemSorter = new CompareListItems(this);
        }
Example #2
0
		public ListViewEx()
		{

			SetStyle(ControlStyles.UserPaint, false);

			// Control needs to have full row select and detail
			// view enable otherwise it won't behave as intended
			FullRowSelect = true;
			View = View.Details;
			HeaderStyle = ColumnHeaderStyle.Nonclickable;
			InitializeCheckBoxesImageList();
			ListViewItemSorter = new CompareListItems(this);
		}