Exemplo n.º 1
0
 public TableLayout(DockContainer container, Size size)
     : this(size, container != null ? container.Generator : Generator.Current)
 {
     if (container != null)
     {
         container.Content = this;
     }
 }
Exemplo n.º 2
0
 public PixelLayout(DockContainer container)
     : this(container != null ? container.Generator : null)
 {
     if (container != null)
     {
         container.Content = this;
     }
 }
Exemplo 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;
     }
 }
Exemplo 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;
     }
 }
Exemplo 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);
 }
Exemplo 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;
		}
Exemplo n.º 7
0
		public DynamicLayout(DockContainer container, Size? spacing)
			: this (container, null, spacing)
		{
		}
Exemplo n.º 8
0
		public PixelLayout(DockContainer container)
			: this(container != null ? container.Generator : null)
		{
			if (container != null)
				container.Content = this;
		}
Exemplo 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;
		}
Exemplo n.º 10
0
 public TableLayout(DockContainer container, int width, int height)
     : this(container, new Size(width, height))
 {
 }
Exemplo n.º 11
0
		public TableLayout(DockContainer container, Size size)
			: this(size, container != null ? container.Generator : Generator.Current)
		{
			if (container != null)
				container.Content = this;
		}
Exemplo n.º 12
0
		public TableLayout(DockContainer container, int width, int height)
			: this(container, new Size(width, height))
		{
		}
Exemplo n.º 13
0
 public DynamicLayout(DockContainer container, Size?spacing)
     : this(container, null, spacing)
 {
 }