Пример #1
0
        private void InitPanel(PanelSetEnum panelSet)
        {
            if ((panelSet == PanelSetEnum.psLeft) || (panelSet == PanelSetEnum.psLeftRight))
                LeftPanel = new SideBarPanel(PanelAlignEnum.paLeft);

            if ((panelSet == PanelSetEnum.psRight) || (panelSet == PanelSetEnum.psLeftRight))
                RightPanel = new SideBarPanel(PanelAlignEnum.paRight);
        }
Пример #2
0
        private void Init(PanelSetEnum panelSet)
        {
            if ((panelSet == PanelSetEnum.psLeft) || (panelSet == PanelSetEnum.psLeftRight))
                LeftPanel = new SideBarPanel(PanelAlignEnum.paLeft);

            if ((panelSet == PanelSetEnum.psRight) || (panelSet == PanelSetEnum.psLeftRight))
                RightPanel = new SideBarPanel(PanelAlignEnum.paRight);

            Disappearing += (s, e) => { ClosePanel(); };
        }
Пример #3
0
        private void Init(PanelSetEnum panelSet)
        {
            if ((panelSet == PanelSetEnum.psLeft) || (panelSet == PanelSetEnum.psLeftRight))
            {
                LeftPanel = new SideBarPanel(PanelAlignEnum.paLeft);
            }

            if ((panelSet == PanelSetEnum.psRight) || (panelSet == PanelSetEnum.psLeftRight))
            {
                RightPanel = new SideBarPanel(PanelAlignEnum.paRight);
            }

            Disappearing += (s, e) => { ClosePanel(); };
        }
Пример #4
0
 public SideBarPage(Type viewModelType, Type contentUIType, PanelSetEnum panelSet)
     : base(viewModelType, contentUIType)
 {
     Init(panelSet);
 }
Пример #5
0
 public SideBarPage(PanelSetEnum panelSet)
 {
     Init(panelSet);
 }
Пример #6
0
 public SideBarPage(Type viewModelType, Type contentUIType, PanelSetEnum panelSet)
     : base(viewModelType, contentUIType)
 {
     Init(panelSet);
 }
Пример #7
0
 public SideBarPage(PanelSetEnum panelSet)
 {
     Init(panelSet);
 }