Example #1
0
        public override void SetFocus()
        {
            base.SetFocus();

            _textOnGotFocus = Text;

            _textEnterUC.SetFocus();

            //text field has just been shown, no sizes of field yet
            _scene.Dispatcher.BeginInvoke(DispatcherPriority.Background,
                                          (Action)(() =>
            {
                if (!_isFocused)
                {
                    return;
                }
                SetMarkers();
                ShowMarkers();
            }));
        }
Example #2
0
        public override void SetFocus()
        {
            base.SetFocus();

            _textEnterUC.SetFocus();
        }