예제 #1
0
        private void OnDataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            BaseModal modal = (BaseModal)DataContext;

            ContentContainer.Children.Clear();
            ContentContainer.Children.Add(modal.ModalContent);
        }
예제 #2
0
 public override void InjectModalVM(BaseModal modal)
 {
     Modal = (Modal <object>)modal;
 }
예제 #3
0
 public abstract void InjectModalVM(BaseModal modal);