Ejemplo n.º 1
0
            public FloatEntry(FloatingViewForm floatingForm)
            {
                Verify.Argument.IsNotNull(floatingForm, nameof(floatingForm));

                _bounds = floatingForm.Bounds;
                _root   = ToLayout(floatingForm.RootControl);
            }
Ejemplo n.º 2
0
 /// <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;
 }
Ejemplo n.º 3
0
            public FloatEntry(FloatingViewForm floatingForm)
            {
                Verify.Argument.IsNotNull(floatingForm, "floatingForm");

                _bounds = floatingForm.Bounds;
                _root = ToLayout(floatingForm.RootControl);
            }
Ejemplo n.º 4
0
        internal void RemoveFloatingForm(FloatingViewForm floatingViewForm)
        {
            Verify.Argument.IsNotNull(floatingViewForm, nameof(floatingViewForm));

            _floatingViewForms.Remove(floatingViewForm);
        }
Ejemplo n.º 5
0
        internal void AddFloatingForm(FloatingViewForm floatingViewForm)
        {
            Verify.Argument.IsNotNull(floatingViewForm, nameof(floatingViewForm));

            _floatingViewForms.AddLast(floatingViewForm);
        }
Ejemplo n.º 6
0
        internal void RemoveFloatingForm(FloatingViewForm floatingViewForm)
        {
            Verify.Argument.IsNotNull(floatingViewForm, "floatingViewForm");

            _floatingViewForms.Remove(floatingViewForm);
        }
Ejemplo n.º 7
0
        internal void AddFloatingForm(FloatingViewForm floatingViewForm)
        {
            Verify.Argument.IsNotNull(floatingViewForm, "floatingViewForm");

            _floatingViewForms.AddLast(floatingViewForm);
        }