csShared.Controls.Popups.InputPopup.InputPopupViewModel.OnViewLoaded C# (CSharp) Method

OnViewLoaded() protected method

protected OnViewLoaded ( object theView ) : void
theView object
return void
    protected override void OnViewLoaded(object theView)
    {
      base.OnViewLoaded(theView);
      view = (InputPopupView)theView;

      UpdatePosition();

      //Items = new BindableCollection<System.Windows.Controls.MenuItem>();

      if (TimeOut.HasValue)
      {
        toTimer = new DispatcherTimer();
        toTimer.Interval = TimeOut.Value;
        toTimer.Tick += toTimer_Tick;
        toTimer.Start();
      }

    }