Click here to Skip to main content
15,892,059 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF ComboBox With User Control(This may not work.) Pin
Kevin Marois30-Mar-13 11:09
professionalKevin Marois30-Mar-13 11:09 
GeneralRe: WPF ComboBox With User Control(This may not work.) Pin
David C# Hobbyist.30-Mar-13 11:24
professionalDavid C# Hobbyist.30-Mar-13 11:24 
AnswerRe: WPF ComboBox With User Control Pin
SledgeHammer0130-Mar-13 13:19
SledgeHammer0130-Mar-13 13:19 
GeneralWindows 8 WPF Theme? Pin
Member 982361928-Mar-13 17:20
Member 982361928-Mar-13 17:20 
GeneralRe: Windows 8 WPF Theme? Pin
Meshack Musundi4-Apr-13 7:48
professionalMeshack Musundi4-Apr-13 7:48 
QuestionC# WPF Accessing parameter of chosen data grid row Pin
johnyjj228-Mar-13 9:55
johnyjj228-Mar-13 9:55 
QuestionExtending WPF WebBrowser Control Pin
Coxianuk28-Mar-13 6:48
Coxianuk28-Mar-13 6:48 
AnswerRe: Extending WPF WebBrowser Control Pin
Richard Deeming28-Mar-13 9:19
mveRichard Deeming28-Mar-13 9:19 
Coxianuk wrote:
private static WebBrowser baseBrowser;

There's your problem - your control is only ever using a single instance of the WebBrowser control, no matter how many instances of your control you create.

It looks like the only reason you've made it static is so that you can access it from the DependencyPropertyChanged events. All you need to do is cast the DependencyObject parameter to your ExtWebBrowser class, and you'll be able to access non-static fields, properties, and methods.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer



modified 28-Mar-13 17:01pm.

GeneralRe: Extending WPF WebBrowser Control Pin
Coxianuk28-Mar-13 10:26
Coxianuk28-Mar-13 10:26 
GeneralRe: Extending WPF WebBrowser Control Pin
David C# Hobbyist.28-Mar-13 10:52
professionalDavid C# Hobbyist.28-Mar-13 10:52 
QuestionWindows Phone App Development using C# 2010 Pin
TwiztedFreek26-Mar-13 18:16
TwiztedFreek26-Mar-13 18:16 
QuestionRe: Windows Phone App Development using C# 2010 Pin
Richard MacCutchan26-Mar-13 23:00
mveRichard MacCutchan26-Mar-13 23:00 
AnswerRe: Windows Phone App Development using C# 2010 Pin
Abhinav S27-Mar-13 18:02
Abhinav S27-Mar-13 18:02 
QuestionLooking for a windows phone 7.1 XNA programmer Pin
Member 955005525-Mar-13 23:09
Member 955005525-Mar-13 23:09 
AnswerRe: Looking for a windows phone 7.1 XNA programmer Pin
Richard MacCutchan26-Mar-13 0:09
mveRichard MacCutchan26-Mar-13 0:09 
AnswerRe: Looking for a windows phone 7.1 XNA programmer Pin
Marco Bertschi26-Mar-13 1:15
protectorMarco Bertschi26-Mar-13 1:15 
QuestionCode-generated buttons in Stackpanel: how to handle events? Pin
Dirk.Bock22-Mar-13 12:24
Dirk.Bock22-Mar-13 12:24 
AnswerRe: Code-generated buttons in Stackpanel: how to handle events? Pin
Mycroft Holmes22-Mar-13 14:14
professionalMycroft Holmes22-Mar-13 14:14 
AnswerRe: Code-generated buttons in Stackpanel: how to handle events? Pin
Gerry Schmitz22-Mar-13 14:51
mveGerry Schmitz22-Mar-13 14:51 
QuestionMVVM Tasks and UI Updating Pin
cjb11022-Mar-13 1:44
cjb11022-Mar-13 1:44 
AnswerRe: MVVM Tasks and UI Updating Pin
Matt T Heffron22-Mar-13 10:25
professionalMatt T Heffron22-Mar-13 10:25 
GeneralRe: MVVM Tasks and UI Updating Pin
cjb11024-Mar-13 22:37
cjb11024-Mar-13 22:37 
GeneralRe: MVVM Tasks and UI Updating Pin
cjb11025-Mar-13 1:56
cjb11025-Mar-13 1:56 
GeneralRe: MVVM Tasks and UI Updating Pin
cjb11025-Mar-13 4:45
cjb11025-Mar-13 4:45 
AnswerRe: MVVM Tasks and UI Updating Pin
Abhinav S25-Mar-13 7:26
Abhinav S25-Mar-13 7:26 

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.