コード例 #1
0
        private void MManagerOnActiveContentChanged(object _sender, EventArgs _eventArgs)
        {
            PropertyChanged.Cast(this, () => ActivePage);
            PropertyChanged.Cast(this, () => ForwardCommand);
            PropertyChanged.Cast(this, () => BackCommand);
            PropertyChanged.Cast(this, () => CloseCommand);
            PropertyChanged.Cast(this, () => RevertCommand);
            PropertyChanged.Cast(this, () => UndoCommand);
            PropertyChanged.Cast(this, () => RedoCommand);
            PropertyChanged.Cast(this, () => SaveCommand);

            if (ActivePage != null)
            {
                ActivePage.Selected();
            }
        }