Click here to Skip to main content
15,880,725 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: IDataErrorInfo Pin
#realJSOP29-Dec-20 1:56
mve#realJSOP29-Dec-20 1:56 
QuestionDesktop Push Notifications on multiple devices in WPF Desktop Application Pin
Member 1495324013-Dec-20 4:47
Member 1495324013-Dec-20 4:47 
AnswerRe: Desktop Push Notifications on multiple devices in WPF Desktop Application Pin
Gerry Schmitz13-Dec-20 5:32
mveGerry Schmitz13-Dec-20 5:32 
GeneralRe: Desktop Push Notifications on multiple devices in WPF Desktop Application Pin
Member 1495324013-Dec-20 7:09
Member 1495324013-Dec-20 7:09 
GeneralRe: Desktop Push Notifications on multiple devices in WPF Desktop Application Pin
Gerry Schmitz13-Dec-20 19:18
mveGerry Schmitz13-Dec-20 19:18 
AnswerRe: Desktop Push Notifications on multiple devices in WPF Desktop Application Pin
Dave Kreskowiak13-Dec-20 10:20
mveDave Kreskowiak13-Dec-20 10:20 
QuestionDispatcherTimer Pin
michaelbarb8-Dec-20 3:55
michaelbarb8-Dec-20 3:55 
AnswerRe: DispatcherTimer Pin
michaelbarb8-Dec-20 4:12
michaelbarb8-Dec-20 4:12 
AnswerRe: DispatcherTimer Pin
Dave Kreskowiak8-Dec-20 4:15
mveDave Kreskowiak8-Dec-20 4:15 
GeneralRe: DispatcherTimer Pin
michaelbarb8-Dec-20 4:24
michaelbarb8-Dec-20 4:24 
AnswerRe: DispatcherTimer Pin
Gerry Schmitz8-Dec-20 6:30
mveGerry Schmitz8-Dec-20 6:30 
GeneralRe: DispatcherTimer Pin
michaelbarb8-Dec-20 6:37
michaelbarb8-Dec-20 6:37 
QuestionDifferences Pin
michaelbarb30-Nov-20 6:36
michaelbarb30-Nov-20 6:36 
AnswerRe: Differences Pin
Richard MacCutchan30-Nov-20 6:45
mveRichard MacCutchan30-Nov-20 6:45 
QuestionDependencyProperty Binding Problem Pin
Kevin Marois2-Oct-20 6:02
professionalKevin Marois2-Oct-20 6:02 
QuestionReuseable Triggers? Pin
Kevin Marois18-Sep-20 9:07
professionalKevin Marois18-Sep-20 9:07 
Questionload usercontrol in background worker Pin
Rusdy Perkasa8-Sep-20 21:31
Rusdy Perkasa8-Sep-20 21:31 
AnswerRe: load usercontrol in background worker Pin
Gerry Schmitz9-Sep-20 4:22
mveGerry Schmitz9-Sep-20 4:22 
GeneralRe: load usercontrol in background worker Pin
Rusdy Perkasa9-Sep-20 20:06
Rusdy Perkasa9-Sep-20 20:06 
AnswerRe: load usercontrol in background worker Pin
Dave Kreskowiak9-Sep-20 4:46
mveDave Kreskowiak9-Sep-20 4:46 
The code you posted doesn't have anything to do with the problem as far as we can tell.

If you're trying to create and manipulate controls in the background worker, you can't. Controls have to be created on the UI thread, the thread your app started on.

If you're adding data to controls, you cannot do it from a background worker. You cannot touch or modify controls from anything other than the UI thread.

You can load the data you need into data structures in the background worker, but adding that data to controls must be done on the UI thread.

GeneralRe: load usercontrol in background worker Pin
Rusdy Perkasa9-Sep-20 20:14
Rusdy Perkasa9-Sep-20 20:14 
GeneralRe: load usercontrol in background worker Pin
Dave Kreskowiak10-Sep-20 3:50
mveDave Kreskowiak10-Sep-20 3:50 
GeneralRe: load usercontrol in background worker Pin
Rusdy Perkasa10-Sep-20 15:56
Rusdy Perkasa10-Sep-20 15:56 
GeneralRe: load usercontrol in background worker Pin
Dave Kreskowiak10-Sep-20 16:29
mveDave Kreskowiak10-Sep-20 16:29 
GeneralRe: load usercontrol in background worker Pin
Rusdy Perkasa10-Sep-20 17:15
Rusdy Perkasa10-Sep-20 17:15 

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.