Ejemplo n.º 1
0
        private void InternalSetContent(UIElement value)
        {
            _content?.RemoveFromSuperview();

            _content = value;
            _mainController.View.AddSubview(value);
            value.Frame            = _mainController.View.Bounds;
            value.AutoresizingMask = UIViewAutoresizing.All;
        }
Ejemplo n.º 2
0
        private void InternalSetContent(UIElement value)
        {
            _content?.RemoveFromSuperview();

            _content               = value;
            _mainController.View   = value;
            value.Frame            = _mainController.View.Bounds;
            value.AutoresizingMask = NSViewResizingMask.WidthSizable | NSViewResizingMask.HeightSizable;
        }
Ejemplo n.º 3
0
        private void InternalSetContent(UIElement value)
        {
            _content?.RemoveFromSuperview();

            _content                = value;
            _mainController.View    = value;
            _window.BackgroundColor = Colors.White;
            value.Frame             = _window.Frame;
            value.AutoresizingMask  = NSViewResizingMask.WidthSizable | NSViewResizingMask.HeightSizable;
        }