Tag : wpf

It’s going to be a while before I understand what is going on under the hood relying on the higher level features of the WPF object model and run-time engine, so in the interim I thought I would try to be more in control of the user interface. I am trying to draw my Canvas contents using the DeviceContext, which seems to work, but I don’t even understand what is going on under the hood for..

Read more

private void TextBox27_GotFocus(object sender, RoutedEventArgs e) { Stil53.Begin(); TextBox27.Select(TextBox27.Text.Length, 0); Takvim_Kapat(); KeyEventHandler mhth = new KeyEventHandler(TextBox27_PreviewKeyUp); <=////this } private void TextBox27_PreviewKeyUp(object sender, KeyEventArgs e) { Listelemeler.Para_Birimi_Noktalama(TextBox27, e); } In the gotfocus incident I’m trying to trigger the KeyEventArgs event. How can I achieve this? Can you give me an idea? thank you in advance In ..

Read more