A dictionary with keys of type Guid and values of type Control
Inheritance: System.Collections.DictionaryBase
Exemplo n.º 1
0
        public GridSubPanel(GridVirtual gridContainer, GridSubPanelType containerType)
            : base(gridContainer, containerType)
        {
            AllowDrop = true;

            //to remove flicker and use custom draw
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.SupportsTransparentBackColor, true);
            SetStyle(ControlStyles.ContainerControl, true);
            SetStyle(ControlStyles.Selectable, false);

            m_ControlsRepository = new ControlsRepository(this);

            TabStop = false; //The grid control is a special control and usually don't receive the focus with the Tab
        }
Exemplo n.º 2
0
        public GridSubPanel(GridVirtual gridContainer, GridSubPanelType containerType)
            : base(gridContainer, containerType)
        {
            AllowDrop = true;

            //to remove flicker and use custom draw
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.SupportsTransparentBackColor, true);
            SetStyle(ControlStyles.ContainerControl, true);
            SetStyle(ControlStyles.Selectable, false);

            m_ControlsRepository = new ControlsRepository(this);

            TabStop = false; //The grid control is a special control and usually don't receive the focus with the Tab
        }