Click here to Skip to main content
15,913,669 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How to make Single instance application to run Pin
Pete O'Hanlon4-Jul-10 21:50
mvePete O'Hanlon4-Jul-10 21:50 
AnswerRe: How to make Single instance application to run Pin
BechBej4-Jul-10 13:05
BechBej4-Jul-10 13:05 
GeneralRe: How to make Single instance application to run Pin
Pete O'Hanlon4-Jul-10 21:49
mvePete O'Hanlon4-Jul-10 21:49 
QuestionWPF App - different page than StartupUri getting called... Pin
Phil Boyd30-Jun-10 10:34
Phil Boyd30-Jun-10 10:34 
AnswerRe: WPF App - different page than StartupUri getting called... Pin
Pete O'Hanlon30-Jun-10 10:46
mvePete O'Hanlon30-Jun-10 10:46 
AnswerRe: WPF App - different page than StartupUri getting called... Pin
BechBej5-Jul-10 9:45
BechBej5-Jul-10 9:45 
QuestionProblem with Binding to XML in WPF. [Resolved] Pin
Henry Minute30-Jun-10 9:34
Henry Minute30-Jun-10 9:34 
AnswerRe: Problem with Binding to XML in WPF. Pin
Pete O'Hanlon30-Jun-10 10:44
mvePete O'Hanlon30-Jun-10 10:44 
I'm not sure why your XML data island x:XData isn't working, but the second version has to be able to find the XML file in the same directory as the executable. Either set the properties on it to copy to the output directory, or give it the full path, i.e
.<StackPanel.Resources>
    <XmlDataProvider x:Key="MoreColours" XPath="/MyColours" Source="C:\Mef\WpfXmlSample\WpfXmlSample\Colours.xml" />
</StackPanel.Resources>


[Edit]Deliver a slap sideways to my head. The reason your XData isn't being picked up is because it's trying to resolve against a namespace (i.e. you need to supply a namespace to map against the XPath). To get round this, add xmlns="" to the x:XData declaration (i.e. <x:XData xmlns="">).

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



GeneralRe: Problem with Binding to XML in WPF. Pin
Henry Minute30-Jun-10 11:31
Henry Minute30-Jun-10 11:31 
GeneralRe: Problem with Binding to XML in WPF. Pin
Pete O'Hanlon30-Jun-10 11:45
mvePete O'Hanlon30-Jun-10 11:45 
GeneralRe: Problem with Binding to XML in WPF. Pin
Henry Minute30-Jun-10 13:00
Henry Minute30-Jun-10 13:00 
GeneralRe: Problem with Binding to XML in WPF. Pin
Pete O'Hanlon30-Jun-10 21:47
mvePete O'Hanlon30-Jun-10 21:47 
GeneralRe: Problem with Binding to XML in WPF. Pin
Pete O'Hanlon1-Jul-10 11:58
mvePete O'Hanlon1-Jul-10 11:58 
GeneralRe: Problem with Binding to XML in WPF. Pin
Henry Minute1-Jul-10 12:12
Henry Minute1-Jul-10 12:12 
GeneralRe: Problem with Binding to XML in WPF. Pin
Pete O'Hanlon1-Jul-10 12:13
mvePete O'Hanlon1-Jul-10 12:13 
QuestionHow to install silverlight Pin
yogesh_kumar_agarwal29-Jun-10 19:39
yogesh_kumar_agarwal29-Jun-10 19:39 
AnswerRe: How to install silverlight Pin
Abhinav S29-Jun-10 20:13
Abhinav S29-Jun-10 20:13 
GeneralRe: How to install silverlight Pin
souidi abderrahman29-Jun-10 21:54
souidi abderrahman29-Jun-10 21:54 
GeneralRe: How to install silverlight Pin
Abhinav S1-Jul-10 20:12
Abhinav S1-Jul-10 20:12 
GeneralRe: How to install silverlight Pin
souidi abderrahman1-Jul-10 20:53
souidi abderrahman1-Jul-10 20:53 
AnswerRe: How to install silverlight Pin
Kunal Chowdhury «IN»30-Jun-10 1:03
professionalKunal Chowdhury «IN»30-Jun-10 1:03 
AnswerRe:How to install silverlight Pin
Ch.Gayatri Subudhi1-Jul-10 18:19
Ch.Gayatri Subudhi1-Jul-10 18:19 
QuestionApply two animations to a text block simultanously Pin
WBurgMo29-Jun-10 16:00
WBurgMo29-Jun-10 16:00 
AnswerRe: Apply two animations to a text block simultanously Pin
Insincere Dave1-Jul-10 9:10
Insincere Dave1-Jul-10 9:10 
GeneralRe: Apply two animations to a text block simultanously Pin
WBurgMo1-Jul-10 10:35
WBurgMo1-Jul-10 10:35 

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.