コード例 #1
0
        public FmDUIScrollableControlDemo()
        {
            InitializeComponent();
            DUIScrollableControl dUIScrollableControl = new DUIScrollableControl()
            {
                Dock = DockStyle.Fill, BackColor = Color.Violet
            };

            this.duiNativeControl1.DUIControls.Add(dUIScrollableControl);
            for (int i = 0; i < 100; i++)
            {
                dUIScrollableControl.DUIControls.Add(new DUIControl()
                {
                    X         = i * 50,
                    Y         = i * 10,
                    Width     = 50,
                    Height    = 10,
                    BackColor = Color.Yellow
                });
            }
        }
コード例 #2
0
 public DUIVScrollProperties(DUIScrollableControl container)
     : base(container)
 {
 }
コード例 #3
0
 protected DUIScrollProperties(DUIScrollableControl container)
 {
     this.parent = container;
 }