Message 1 of 1
redraw wpf form

Not applicable
08-25-2015
03:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I have made plugin with wpf. It have a form that should be filled in with properties of selected element after mouse down event.
public override bool MouseDown(...) { ... //wpf Form WPFControl wpf = new WPFControl(); //GetProperty - method that cleares all items //then creates tab control, tab items and fills gridview wpf.GetProperty(); }
First time after initialization wpf form fills, but then it does not redraw. However, tab control, tab items and grid view changes in debug mode. I can't understand why it does not redraw.
At the same time programmatically added button with GetProperty method refreshes wpf form.
private void btnChooseTemp_Click(object sender, RoutedEventArgs e) { GetProperty(); }
Regards,
Alexander.