public ShareSource()
        {
            this.InitializeComponent();

            this.viewModel = (ShareSourceViewModel)this.DataContext;
            this.Loaded += ShareSource_Loaded;
            this.Unloaded += ShareSource_Unloaded;

            this.LostFocus += UpdateContent;
            this.PointerMoved += UpdateContent;
            this.ManipulationStarted += UpdateContent;
            this.KeyDown += UpdateContent;
        }
Example #2
0
        public ShareSource()
        {
            this.InitializeComponent();

            this.viewModel = (ShareSourceViewModel)this.DataContext;
            this.Loaded   += ShareSource_Loaded;
            this.Unloaded += ShareSource_Unloaded;

            this.LostFocus           += UpdateContent;
            this.PointerMoved        += UpdateContent;
            this.ManipulationStarted += UpdateContent;
            this.KeyDown             += UpdateContent;
        }