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();
}
}