Repaint problem in wpf

Hi

I am using wpf application. A Repaint problem in there in one of my user control.
It  was not happening before.

What can be the reason for that? What is the resolution of the problem?

Regards
Karan
KaranGuptaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CuteBugCommented:
You need to provide more details regarding this problem.
The given information is insufficient to decide upon the reason for your problem.
0
KaranGuptaAuthor Commented:
Hi

I am using a wpf windows application in which I am using one user control. This user control acts as a menu (just like start menu in windows). When I login to the system for the first time. Lower part of the control is not visible. But when I click on the control again I am able to see the full control.

So I thought this might be regarding the Onpaint.

Regards
Karan
0
CuteBugCommented:
Please provide your OnPaint() code and any other code which you think might be causing the problem.
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

KaranGuptaAuthor Commented:
Hi

I have not written any OnPaint code. Because I was not sure what to write in that block in case of wpf.



Regards
Karan
0
CuteBugCommented:
Could you please provide the code for your user control?
0
KaranGuptaAuthor Commented:
Hi

I am sorry but I can't provide you the code due to its senstivity. If you can provide me some link that can address this problem that will be great.


Regards
Karan
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.