Hi
First and foremost, I apologize for my grammatical errors; my first language is Persian (Iran).
In my project (WPF) i have many windows. in window form i have no problem to access object property from Another window With following codes for example:
(Application.OpenForms[1].Controls[0].Controls[0].Controls[2] as TreeView).SelectedImageIndex = 10;
But in WPF i try many codes like
Application.Current.MainWindow
Or
App.Current.MainWindow
But the problem was not solved
Please answer accurately by C# coding
My control name is "File" (as menuItem) and i want change header property
Thanks
