Click here to Skip to main content
13,797,987 members

Silverlight / WPF

 
GeneralRe: WPF ComboBox With User Control(This may not work.) Pin
David C# Hobbyist.30-Mar-13 12:24
professionalDavid C# Hobbyist.30-Mar-13 12:24 
AnswerRe: WPF ComboBox With User Control Pin
SledgeHammer0130-Mar-13 14:19
memberSledgeHammer0130-Mar-13 14:19 
GeneralWindows 8 WPF Theme? Pin
Member 982361928-Mar-13 18:20
memberMember 982361928-Mar-13 18:20 
GeneralRe: Windows 8 WPF Theme? Pin
Meshack Musundi4-Apr-13 8:48
professionalMeshack Musundi4-Apr-13 8:48 
QuestionC# WPF Accessing parameter of chosen data grid row Pin
johnyjj228-Mar-13 10:55
memberjohnyjj228-Mar-13 10:55 
QuestionExtending WPF WebBrowser Control Pin
Coxianuk28-Mar-13 7:48
memberCoxianuk28-Mar-13 7:48 
AnswerRe: Extending WPF WebBrowser Control Pin
Richard Deeming28-Mar-13 10:19
mvpRichard Deeming28-Mar-13 10:19 
GeneralRe: Extending WPF WebBrowser Control Pin
Coxianuk28-Mar-13 11:26
memberCoxianuk28-Mar-13 11:26 
Thanks for that Smile | :) Think I got a little code blind!

Changed the

private static WebBrowser baseBrowser;


to

internal WebBrowser baseBrowser;


and the Onchanged events to

private static void UrlChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
{
    ExtWebBrowser ext = o as ExtWebBrowser;
    if (ext != null)
    {
        ext.baseBrowser.Source = e.NewValue as Uri;
    }
}

private static void ScriptingObjectChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
{
    ExtWebBrowser ext = o as ExtWebBrowser;
    if (ext != null)
    {
        ext.baseBrowser.ObjectForScripting = e.NewValue;
    }
}


It all works fine.

Thanks again
Ian

modified 29-Mar-13 4:22am.

GeneralRe: Extending WPF WebBrowser Control Pin
David C# Hobbyist.28-Mar-13 11:52
professionalDavid C# Hobbyist.28-Mar-13 11:52 
QuestionWindows Phone App Development using C# 2010 Pin
TwiztedFreek26-Mar-13 19:16
memberTwiztedFreek26-Mar-13 19:16 
QuestionRe: Windows Phone App Development using C# 2010 Pin
Richard MacCutchan27-Mar-13 0:00
protectorRichard MacCutchan27-Mar-13 0:00 
AnswerRe: Windows Phone App Development using C# 2010 Pin
Abhinav S27-Mar-13 19:02
memberAbhinav S27-Mar-13 19:02 
QuestionLooking for a windows phone 7.1 XNA programmer Pin
Member 955005526-Mar-13 0:09
memberMember 955005526-Mar-13 0:09 
AnswerRe: Looking for a windows phone 7.1 XNA programmer Pin
Richard MacCutchan26-Mar-13 1:09
protectorRichard MacCutchan26-Mar-13 1:09 
AnswerRe: Looking for a windows phone 7.1 XNA programmer Pin
Marco Bertschi26-Mar-13 2:15
protectorMarco Bertschi26-Mar-13 2:15 
QuestionCode-generated buttons in Stackpanel: how to handle events? Pin
Dirk.Bock22-Mar-13 13:24
memberDirk.Bock22-Mar-13 13:24 
AnswerRe: Code-generated buttons in Stackpanel: how to handle events? Pin
Mycroft Holmes22-Mar-13 15:14
memberMycroft Holmes22-Mar-13 15:14 
AnswerRe: Code-generated buttons in Stackpanel: how to handle events? Pin
Gerry Schmitz22-Mar-13 15:51
memberGerry Schmitz22-Mar-13 15:51 
QuestionMVVM Tasks and UI Updating Pin
cjb11022-Mar-13 2:44
membercjb11022-Mar-13 2:44 
AnswerRe: MVVM Tasks and UI Updating Pin
Matt T Heffron22-Mar-13 11:25
professionalMatt T Heffron22-Mar-13 11:25 
GeneralRe: MVVM Tasks and UI Updating Pin
cjb11024-Mar-13 23:37
membercjb11024-Mar-13 23:37 
GeneralRe: MVVM Tasks and UI Updating Pin
cjb11025-Mar-13 2:56
membercjb11025-Mar-13 2:56 
GeneralRe: MVVM Tasks and UI Updating Pin
cjb11025-Mar-13 5:45
membercjb11025-Mar-13 5:45 
AnswerRe: MVVM Tasks and UI Updating Pin
Abhinav S25-Mar-13 8:26
memberAbhinav S25-Mar-13 8:26 
GeneralRe: MVVM Tasks and UI Updating Pin
cjb11025-Mar-13 8:36
membercjb11025-Mar-13 8:36 

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.


Advertise | Privacy | Cookies | Terms of Service
Web06 | 2.8.181207.3 | Last Updated 13 Dec 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid