Ejemplo n.º 1
0
        public GKListView()
        {
            //SetStyle(ControlStyles.DoubleBuffer, true);
            //SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
            //SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            // Enable the OnNotifyMessage event so we get a chance to filter out
            // Windows messages before they get to the form's WndProc
            //SetStyle(ControlStyles.EnableNotifyMessage, true);
            //OwnerDraw = true;

            fCheckedList = false;
            fItems       = new ObservableExtList <GKListItem>();
            fListMan     = null;
            fSortColumn  = 0;
            fSortOrder   = SortOrder.None;

            AllowColumnReordering  = false;
            AllowMultipleSelection = false;
            DataStore = fItems;
        }