Click here to Skip to main content
14,298,693 members

Silverlight / WPF

 
PinnedHOW TO ANSWER A QUESTION PinPopular
Chris Maunder16-Jul-09 3:09
adminChris Maunder16-Jul-09 3:09 
PinnedHow to get an answer to your question PinPopular
Chris Maunder16-Jul-09 3:05
adminChris Maunder16-Jul-09 3:05 
QuestionWPF Pin
Member 145835429-Sep-19 19:20
memberMember 145835429-Sep-19 19:20 
AnswerRe: WPF Pin
Richard MacCutchan9-Sep-19 21:19
protectorRichard MacCutchan9-Sep-19 21:19 
QuestionWPF Pin
Member 145835429-Sep-19 0:25
memberMember 145835429-Sep-19 0:25 
AnswerRe: WPF Pin
Gerry Schmitz9-Sep-19 3:09
mveGerry Schmitz9-Sep-19 3:09 
QuestionWPF application displays differently in Windows 7 and Windows 10 Pin
Jakob Farian Krarup18-Aug-19 23:16
memberJakob Farian Krarup18-Aug-19 23:16 
AnswerRe: WPF application displays differently in Windows 7 and Windows 10 Pin
jimmson21-Aug-19 3:49
memberjimmson21-Aug-19 3:49 
GeneralRe: WPF application displays differently in Windows 7 and Windows 10 Pin
Jakob Farian Krarup25-Aug-19 22:44
memberJakob Farian Krarup25-Aug-19 22:44 
Hi Jimmson
Thank you for replying.
I have been isolating diffent parts of our code, to find the culprit.
We are basically building a custom WPF control runtime, to use it for printing, but since it is never shown on the UI, but sent off to the printer, the WPF framework doesn't perform lay-out on the control.
I understand, that these lines in the code I am trying to get to work on WIN10, are responsible for enforcing the layout functionality in a non-visible control:
fixedPage.Measure(sizeOfCustomControlToPrint);
fixedPage.Arrange(new Rect(new Point(), sizeOfCustomControlToPrint));
fixedPage.UpdateLayout();

if I comment these out in WIN10, it seems to be working, but I would really like to understand why.
Maybe there is a bug in the WIN10 implementation...? Confused | :confused:
GeneralRe: WPF application displays differently in Windows 7 and Windows 10 Pin
jimmson27-Aug-19 21:53
memberjimmson27-Aug-19 21:53 
GeneralRe: WPF application displays differently in Windows 7 and Windows 10 Pin
Jakob Farian Krarup28-Aug-19 1:25
memberJakob Farian Krarup28-Aug-19 1:25 
AnswerRe: WPF application displays differently in Windows 7 and Windows 10 Pin
Gerry Schmitz28-Aug-19 3:10
mveGerry Schmitz28-Aug-19 3:10 
GeneralRe: WPF application displays differently in Windows 7 and Windows 10 Pin
Jakob Farian Krarup28-Aug-19 22:31
memberJakob Farian Krarup28-Aug-19 22:31 
QuestionWPF and Windows Forms at same time. Pin
michaelbarb15-Aug-19 5:12
membermichaelbarb15-Aug-19 5:12 
AnswerRe: WPF and Windows Forms at same time. Pin
Pete O'Hanlon15-Aug-19 5:39
protectorPete O'Hanlon15-Aug-19 5:39 
GeneralRe: WPF and Windows Forms at same time. Pin
michaelbarb15-Aug-19 6:15
membermichaelbarb15-Aug-19 6:15 
QuestionEnregistrer en RTF un RichTextBox / Save RTF RichTextBox Pin
dctc333-Aug-19 23:00
memberdctc333-Aug-19 23:00 
AnswerRe: Enregistrer en RTF un RichTextBox / Save RTF RichTextBox Pin
OriginalGriff3-Aug-19 23:05
protectorOriginalGriff3-Aug-19 23:05 
AnswerRe: Enregistrer en RTF un RichTextBox / Save RTF RichTextBox Pin
Gerry Schmitz4-Aug-19 6:51
mveGerry Schmitz4-Aug-19 6:51 
GeneralRe: Enregistrer en RTF un RichTextBox / Save RTF RichTextBox Pin
dctc335-Aug-19 23:54
memberdctc335-Aug-19 23:54 
GeneralRe: Enregistrer en RTF un RichTextBox / Save RTF RichTextBox Pin
Gerry Schmitz6-Aug-19 4:56
mveGerry Schmitz6-Aug-19 4:56 
QuestionListBox - Validate One or More Selections Pin
Kevin Marois22-Jul-19 9:30
professionalKevin Marois22-Jul-19 9:30 
QuestionWPF DataTemplateSelector Question Pin
Kevin Marois18-Jul-19 19:44
professionalKevin Marois18-Jul-19 19:44 
AnswerRe: WPF DataTemplateSelector Question Pin
Richard Deeming19-Jul-19 1:07
mveRichard Deeming19-Jul-19 1:07 
GeneralRe: WPF DataTemplateSelector Question Pin
Kevin Marois19-Jul-19 16:01
professionalKevin Marois19-Jul-19 16:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.