public ShellFlyoutHeaderHandler(NativeComponentRenderer renderer, DummyElement shellFlyoutHeaderDummyControl)
        {
            Renderer = renderer ?? throw new ArgumentNullException(nameof(renderer));
            ShellFlyoutHeaderDummyControl = shellFlyoutHeaderDummyControl ?? throw new ArgumentNullException(nameof(shellFlyoutHeaderDummyControl));

            ParentChildManager = new ParentChildManager <XF.Shell, XF.View>(SetShellFlyoutHeader);
        }
Ejemplo n.º 2
0
        public ModalContainerHandler(NativeComponentRenderer renderer, DummyElement modalContainerDummyControl)
        {
            Renderer = renderer ?? throw new ArgumentNullException(nameof(renderer));
            ModalContainerPlaceholderElementControl = modalContainerDummyControl ?? throw new ArgumentNullException(nameof(modalContainerDummyControl));

            _parentChildManager = new ParentChildManager <XF.NavigableElement, XF.Page>(ShowDialogIfPossible);
            _parentChildManager.ChildChanged += OnParentChildManagerChildChanged;
        }