Click here to Skip to main content
14,766,830 members
Home » Discussions » Silverlight / WPF
   

Silverlight / WPF

 
GeneralRe: Window Not Refreshing Pin
Richard Deeming18-Sep-19 1:44
mveRichard Deeming18-Sep-19 1:44 
QuestionWPF Pin
RajaMohammed.A9-Sep-19 20:20
MemberRajaMohammed.A9-Sep-19 20:20 
AnswerRe: WPF Pin
Richard MacCutchan9-Sep-19 22:19
mveRichard MacCutchan9-Sep-19 22:19 
QuestionWPF Pin
RajaMohammed.A9-Sep-19 1:25
MemberRajaMohammed.A9-Sep-19 1:25 
AnswerRe: WPF Pin
Gerry Schmitz9-Sep-19 4:09
mveGerry Schmitz9-Sep-19 4:09 
QuestionWPF application displays differently in Windows 7 and Windows 10 Pin
Jakob Farian Krarup19-Aug-19 0:16
MemberJakob Farian Krarup19-Aug-19 0:16 
AnswerRe: WPF application displays differently in Windows 7 and Windows 10 Pin
jimmson21-Aug-19 4:49
Memberjimmson21-Aug-19 4:49 
GeneralRe: WPF application displays differently in Windows 7 and Windows 10 Pin
Jakob Farian Krarup25-Aug-19 23:44
MemberJakob Farian Krarup25-Aug-19 23: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 22:53
Memberjimmson27-Aug-19 22:53 
GeneralRe: WPF application displays differently in Windows 7 and Windows 10 Pin
Jakob Farian Krarup28-Aug-19 2:25
MemberJakob Farian Krarup28-Aug-19 2:25 
AnswerRe: WPF application displays differently in Windows 7 and Windows 10 Pin
Gerry Schmitz28-Aug-19 4:10
mveGerry Schmitz28-Aug-19 4:10 
GeneralRe: WPF application displays differently in Windows 7 and Windows 10 Pin
Jakob Farian Krarup28-Aug-19 23:31
MemberJakob Farian Krarup28-Aug-19 23:31 
QuestionWPF and Windows Forms at same time. Pin
michaelbarb15-Aug-19 6:12
Membermichaelbarb15-Aug-19 6:12 
AnswerRe: WPF and Windows Forms at same time. Pin
Pete O'Hanlon15-Aug-19 6:39
mvePete O'Hanlon15-Aug-19 6:39 
GeneralRe: WPF and Windows Forms at same time. Pin
michaelbarb15-Aug-19 7:15
Membermichaelbarb15-Aug-19 7:15 
QuestionEnregistrer en RTF un RichTextBox / Save RTF RichTextBox Pin
dctc334-Aug-19 0:00
Memberdctc334-Aug-19 0:00 
AnswerRe: Enregistrer en RTF un RichTextBox / Save RTF RichTextBox Pin
OriginalGriff4-Aug-19 0:05
mveOriginalGriff4-Aug-19 0:05 
AnswerRe: Enregistrer en RTF un RichTextBox / Save RTF RichTextBox Pin
Gerry Schmitz4-Aug-19 7:51
mveGerry Schmitz4-Aug-19 7:51 
GeneralRe: Enregistrer en RTF un RichTextBox / Save RTF RichTextBox Pin
dctc336-Aug-19 0:54
Memberdctc336-Aug-19 0:54 
GeneralRe: Enregistrer en RTF un RichTextBox / Save RTF RichTextBox Pin
Gerry Schmitz6-Aug-19 5:56
mveGerry Schmitz6-Aug-19 5:56 
QuestionListBox - Validate One or More Selections Pin
Kevin Marois22-Jul-19 10:30
professionalKevin Marois22-Jul-19 10:30 
QuestionWPF DataTemplateSelector Question Pin
Kevin Marois18-Jul-19 20:44
professionalKevin Marois18-Jul-19 20:44 
AnswerRe: WPF DataTemplateSelector Question Pin
Richard Deeming19-Jul-19 2:07
mveRichard Deeming19-Jul-19 2:07 
GeneralRe: WPF DataTemplateSelector Question Pin
Kevin Marois19-Jul-19 17:01
professionalKevin Marois19-Jul-19 17:01 
GeneralRe: WPF DataTemplateSelector Question Pin
Kevin Marois19-Jul-19 17:39
professionalKevin Marois19-Jul-19 17:39 

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.