Example #1
0
        public GenericPropertyListControl()
        {
            InitializeComponent();

            //container = new ScrollableControl
            //{
            //    Dock = DockStyle.Fill,
            //    AutoScroll = true,
            //    AutoScrollMargin = new Size(0, 0),
            //    AutoScrollMinSize = new Size(0, 0)
            //};
            //Controls.Add(container);

            layoutItems = new List <LayoutItem>();

            Margin  = new Padding(0);
            Padding = new Padding(0);

            AutoScroll        = false;
            AutoScrollMargin  = new Size(0, 0);
            AutoScrollMinSize = new Size(0, 0);
            AutoScroll        = true;

            Options = new GenericPropertyListOptions();

            Layout += GenericPropertyListControl_Layout;
            Resize += GenericPropertyListControl_Resize;
        }
        public GenericPropertyListControl()
        {
            Margin            = new Padding(0);
            Padding           = new Padding(0);
            AutoScrollMargin  = new Size(0, 0);
            AutoScrollMinSize = new Size(0, 0);

            Options = new GenericPropertyListOptions();

            Layout += GenericPropertyListControl_Layout;

            InitializeComponent();
        }