Esempio n. 1
0
 public TableLayout(DockContainer container, Size size)
     : this(size, container != null ? container.Generator : Generator.Current)
 {
     if (container != null)
     {
         container.Content = this;
     }
 }
Esempio n. 2
0
 public PixelLayout(DockContainer container)
     : this(container != null ? container.Generator : null)
 {
     if (container != null)
     {
         container.Content = this;
     }
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the DockLayout for the specified container
 /// </summary>
 /// <param name="container">Container for the dock layout to manage</param>
 public DockLayout(DockContainer container)
     : base()
 {
     if (container != null)
     {
         container.Content = this;
     }
 }
Esempio n. 4
0
 public DynamicLayout(DockContainer container, Padding?padding = null, Size?spacing = null)
     : this(padding, spacing, container != null ? container.Generator : null)
 {
     if (container != null)
     {
         container.Content = this;
     }
 }
Esempio n. 5
0
 public static Container AddDockedControl(this DockContainer container, Control control, Padding?padding = null)
 {
     container.Content = control;
     if (padding != null)
     {
         container.Padding = padding.Value;
     }
     return(container);
 }
Esempio n. 6
0
		public DynamicLayout(DockContainer container, Padding? padding = null, Size? spacing = null)
			: this (padding, spacing, container != null ? container.Generator : null)
		{
			if (container != null)
				container.Content = this;
		}
Esempio n. 7
0
		public DynamicLayout(DockContainer container, Size? spacing)
			: this (container, null, spacing)
		{
		}
Esempio n. 8
0
		public PixelLayout(DockContainer container)
			: this(container != null ? container.Generator : null)
		{
			if (container != null)
				container.Content = this;
		}
Esempio n. 9
0
		/// <summary>
		/// Initializes a new instance of the DockLayout for the specified container
		/// </summary>
		/// <param name="container">Container for the dock layout to manage</param>
		public DockLayout (DockContainer container)
			: base ()
		{
			if (container != null)
				container.Content = this;
		}
Esempio n. 10
0
 public TableLayout(DockContainer container, int width, int height)
     : this(container, new Size(width, height))
 {
 }
Esempio n. 11
0
		public TableLayout(DockContainer container, Size size)
			: this(size, container != null ? container.Generator : Generator.Current)
		{
			if (container != null)
				container.Content = this;
		}
Esempio n. 12
0
		public TableLayout(DockContainer container, int width, int height)
			: this(container, new Size(width, height))
		{
		}
Esempio n. 13
0
 public DynamicLayout(DockContainer container, Size?spacing)
     : this(container, null, spacing)
 {
 }