Hi,
i am working on winform application , one screen of my application i am using a wpf user control . i am setting visiblity of that WPF user control through binding.
there is no threading in my application, i want that as soon as set the visiblility of user control it should effect in UI,but is not happening like that.
i am able to see my WPF user control after the screen is loaded fully.
my code somewhat look like this
void Dosomething()
{
IsUserControlEnabled=true;//here the UI should reflect but not happening
//some time taking code assume 4-8 sec
IsUserControlEnabled=false;
}
i think my problem is ome what releated to below link
Venkatesh Bathineni: WPF: Build Responsive UI (Threading)[
^]
What I have tried:
void Dosomething()
{
IsUserControlEnabled=true;//here the UI should reflect but not happening
//some time taking code assume 4-8 sec
// if aim not setting IsUserControlEnabled=false then i am able to see in my UI but i want that in this method only it should appear an disappear
}