コード例 #1
0
        public override void SetUpReference()
        {
            base.SetUpReference();
            IPopUpManager manager = CreatePopUpMnager();

            thisPopUp.SetPopUpManager(manager);

            IPopUp parentPopUp = FindProximateParentTypedUIElement <IPopUp>();

            thisPopUp.SetParentPopUp(parentPopUp);
            if (parentPopUp != null)
            {
                parentPopUp.AddChildPopUp(thisPopUp);
            }
        }