public TableLayout(DockContainer container, Size size) : this(size, container != null ? container.Generator : Generator.Current) { if (container != null) { container.Content = this; } }
public PixelLayout(DockContainer container) : this(container != null ? container.Generator : null) { if (container != null) { container.Content = this; } }
/// <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; } }
public DynamicLayout(DockContainer container, Padding?padding = null, Size?spacing = null) : this(padding, spacing, container != null ? container.Generator : null) { if (container != null) { container.Content = this; } }
public static Container AddDockedControl(this DockContainer container, Control control, Padding?padding = null) { container.Content = control; if (padding != null) { container.Padding = padding.Value; } return(container); }
public DynamicLayout(DockContainer container, Padding? padding = null, Size? spacing = null) : this (padding, spacing, container != null ? container.Generator : null) { if (container != null) container.Content = this; }
public DynamicLayout(DockContainer container, Size? spacing) : this (container, null, spacing) { }
public PixelLayout(DockContainer container) : this(container != null ? container.Generator : null) { if (container != null) container.Content = this; }
/// <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; }
public TableLayout(DockContainer container, int width, int height) : this(container, new Size(width, height)) { }
public TableLayout(DockContainer container, Size size) : this(size, container != null ? container.Generator : Generator.Current) { if (container != null) container.Content = this; }
public DynamicLayout(DockContainer container, Size?spacing) : this(container, null, spacing) { }