Ejemplo n.º 1
0
        /// <summary>
        /// Refreshes the Deck assocaited with the current Layout (and fires the LayoutLoaded event)
        /// </summary>
        public void InitializeActiveLayout()
        {
            if (null != ActiveLayout)
            {
                ActiveDeck = new Deck();

                ActiveDeck.SetAndLoadLayout(ActiveLayout, false);
            }

            LayoutLoaded?.Invoke(this, new LayoutEventArgs(ActiveLayout, ActiveDeck));
        }
Ejemplo n.º 2
0
 private bool CanLoadLayout(object parameter) => /*((App)Application.Current).*/ LayoutLoaded.CanLoadLayout();