A control that wraps content within an Accept/Cancel dialog frame.
Use the 'AcceptCancelPresenter.xaml' template style.
Inheritance: System.Windows.Controls.ContentControl
        public void Initialize(AcceptCancelPresenter control)
        {
            control.Width = 600;
            control.Height = 450;

            viewModel = new ViewModelSample();
            control.ViewModel = viewModel;
            control.Content = new Placeholder();
        }
 public void Labels__Random_Values(AcceptCancelPresenter control)
 {
     viewModel.AcceptLabel = RandomData.LoremIpsum(1, 3);
     viewModel.CancelLabel = RandomData.LoremIpsum(1, 3);
 }
 public void Toggle__TopShadowOpacity(AcceptCancelPresenter control)
 {
     control.TopShadowOpacity = control.TopShadowOpacity == 0 ? 0.4 : 0;
 }
 public void Remove__Content(AcceptCancelPresenter control)
 {
     control.Content = null;
 }
 public void Change__Content(AcceptCancelPresenter control)
 {
     control.Content = new Placeholder{Color = Colors.Blue};
 }
 public void Toggle__IsCancelVisible(AcceptCancelPresenter control)
 {
     viewModel.IsCancelVisible = !viewModel.IsCancelVisible;
     Debug.WriteLine("IsCancelVisible: " + viewModel.IsCancelVisible);
 }
 public void Toggle__IsCancelEnabled(AcceptCancelPresenter control)
 {
     viewModel.IsCancelEnabled = !viewModel.IsCancelEnabled;
     Debug.WriteLine("IsCancelEnabled: " + viewModel.IsCancelEnabled);
 }
 public void Labels__Reset(AcceptCancelPresenter control)
 {
     viewModel.Reset();
 }