Example #1
0
 public RootControl(
     ICollectionWithEvents <Control> bindToCollection)
     : base(bindToCollection)
 {
     this.Box.Borders.SetAll(0);
     this.Box.Padding.SetAll(ShapeStyle.DefaultFontSize);
 }
Example #2
0
 public LinearContainerControl(
     ICollectionWithEvents <Control> bindToCollection)
     : base(bindToCollection)
 {
     InitLayoutStrategy();
     Init();
 }
        public LinearContainerControl(
			ICollectionWithEvents<Control> bindToCollection)
            : base(bindToCollection)
        {
            InitLayoutStrategy();
            Init();
        }
Example #4
0
        public RootControl(
			ICollectionWithEvents<Control> bindToCollection)
            : base(bindToCollection)
        {
            this.Box.Borders.SetAll(0);
            this.Box.Padding.SetAll(ShapeStyle.DefaultFontSize);
        }
 /// <summary>
 /// Creates a container control based on a given list of controls.
 /// All controls in the list are treated
 /// as own children of this ContainerControl.
 /// </summary>
 /// <param name="bindToCollection"></param>
 public ContainerControl(ICollectionWithEvents <Control> bindToCollection)
     : base()
 {
     Children = bindToCollection;
 }
Example #6
0
 /// <summary>
 /// Creates a container control based on a given list of controls.
 /// All controls in the list are treated 
 /// as own children of this ContainerControl.
 /// </summary>
 /// <param name="bindToCollection"></param>
 public ContainerControl(ICollectionWithEvents<Control> bindToCollection)
     : base()
 {
     Children = bindToCollection;
 }