TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
wone
NA
7
0
Unexpected behavior on WPF
Mar 24 2010 2:36 PM
Hello,
We have a strange issue that occurs depending, apparently, on the computer configuration.
In the attached file, you will find two screenshots issued from exactly the same code:
- Expected.jpg is the expected behavior of the window
- Unexpected.jpg is the unexpected behavior! Why some parts are troncated?
For the above examples similar config are used (.Net 3.5 SP1). We tried several PC and we found out that on XP the expected behavior occurs but not on Vista. Is there any link? Why?
More generally we have several cases where r
elative positioning of controls is incorrect, text in controls is clipped.
Thanks for your help,
Kamel
Attachment:
bug clipping.rar
Reply
Answers (
1
)
0
mjk pradeep
0
8
0
Apr 30 2010 1:13 AM
Hello Kamel,
I faced this issue certainly before. when i been working on xp and on win 7. Well it's not the problem of WPF while designing thing is that we need to maintain standard design and cross check with our alignments. If your using Grid / StackPanel / DockPanel . see that which container is need for what .. there is hell lot of difference b/w stackpanel & dockpanel kwel other thing is take care when ur spanning a grid column or grid row and make sure with content alignment too. WPF rocks
Regards,
Pradeep
Highlight a Line drawn on Canvas
How to make the controls "behind" the others respond to mouse event in WPF??