public FloatEntry(FloatingViewForm floatingForm) { Verify.Argument.IsNotNull(floatingForm, nameof(floatingForm)); _bounds = floatingForm.Bounds; _root = ToLayout(floatingForm.RootControl); }
/// <summary>Undock and embed into floating form.</summary> /// <returns>Floating form.</returns> internal FloatingViewForm PrepareFloatingMode() { if(_status != ViewHostStatus.Offscreen) Undock(); var floatingForm = new FloatingViewForm(_grid, this); Location = new Point( Renderer.FloatBorderSize, Renderer.FloatBorderSize); Anchor = ViewConstants.AnchorAll; Parent = floatingForm; Status = ViewHostStatus.Floating; return floatingForm; }
public FloatEntry(FloatingViewForm floatingForm) { Verify.Argument.IsNotNull(floatingForm, "floatingForm"); _bounds = floatingForm.Bounds; _root = ToLayout(floatingForm.RootControl); }
internal void RemoveFloatingForm(FloatingViewForm floatingViewForm) { Verify.Argument.IsNotNull(floatingViewForm, nameof(floatingViewForm)); _floatingViewForms.Remove(floatingViewForm); }
internal void AddFloatingForm(FloatingViewForm floatingViewForm) { Verify.Argument.IsNotNull(floatingViewForm, nameof(floatingViewForm)); _floatingViewForms.AddLast(floatingViewForm); }
internal void RemoveFloatingForm(FloatingViewForm floatingViewForm) { Verify.Argument.IsNotNull(floatingViewForm, "floatingViewForm"); _floatingViewForms.Remove(floatingViewForm); }
internal void AddFloatingForm(FloatingViewForm floatingViewForm) { Verify.Argument.IsNotNull(floatingViewForm, "floatingViewForm"); _floatingViewForms.AddLast(floatingViewForm); }