Example #1
0
			void HandleTextInput (object sender, PreviewTextInputEventArgs e)
			{
				text += e.Text;
				e.Handled = true;

				QueueDraw ();
			}
Example #2
0
        protected override void OnPreviewTextInput(PreviewTextInputEventArgs e)
        {
            e.Handled = true;

            if (e.Text != "\b")
                Source.InsertText(e.Text);
        }