Click here to Skip to main content
15,881,852 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Unselect text in textbox on textbox lostfocus event. Pin
pc.rajesh.singh23-Apr-09 23:53
pc.rajesh.singh23-Apr-09 23:53 
GeneralRe: Unselect text in textbox on textbox lostfocus event. Pin
sivaddrahcir24-Apr-09 7:58
sivaddrahcir24-Apr-09 7:58 
QuestionHow to download file from a physical location in Silverlight? urgent......... Pin
salon17-Apr-09 3:49
salon17-Apr-09 3:49 
AnswerRe: How to download file from a physical location in Silverlight? urgent......... Pin
Mark Salsbery17-Apr-09 8:42
Mark Salsbery17-Apr-09 8:42 
AnswerRe: How to download file from a physical location in Silverlight? urgent......... Pin
Braulio Dez17-Apr-09 9:01
Braulio Dez17-Apr-09 9:01 
GeneralRe: How to download file from a physical location in Silverlight? urgent......... Pin
salon18-Apr-09 0:26
salon18-Apr-09 0:26 
GeneralRe: How to download file from a physical location in Silverlight? urgent......... Pin
Braulio Dez18-Apr-09 9:06
Braulio Dez18-Apr-09 9:06 
Questionapp.config --> xaml? [modified] Pin
devvvy16-Apr-09 23:55
devvvy16-Apr-09 23:55 
so... what used to be in app.config should now be in xaml this point forward?

I know for one the user interface is in xaml represented pretty much like HTML/ASP.NET tags, and we should also include resources in xaml. What about other configuration?

One of the article I stumbled upon ...
<br />
string xaml = @"<string assembly="" mscorlib=""><br />
    <string xmlns=""><br />
    hello world</string></string>";<br />
byte[] xaml_data = System.Text.Encoding.ASCII.GetBytes(xaml);<br />
System.IO.MemoryStream xaml_stream = new System.IO.MemoryStream(xaml_data);<br />
string xaml_object = (string)System.Windows.Markup.XamlReader.Load(xaml_stream);<br />
Console.WriteLine(xaml_object);<br />

Using XAML for Custom Application Configuration [^]

So seems like you can resurrect an object from xaml file - what I don't see is how it's superior to "add key=xxxx value=xxx" in old app.config or spring.net dependency injection.

a good article on this for reference? I've stumbled across couple but.. I want to answer key question - "Do I want to put app.config in xaml carrying forward?"

dev

modified on Friday, April 17, 2009 6:04 AM

AnswerRe: app.config --&gt; xaml? Pin
Pete O'Hanlon17-Apr-09 2:13
mvePete O'Hanlon17-Apr-09 2:13 
GeneralRe: app.config --&gt; xaml? Pin
devvvy17-Apr-09 5:58
devvvy17-Apr-09 5:58 
GeneralRe: app.config --&gt; xaml? Pin
Pete O'Hanlon17-Apr-09 9:17
mvePete O'Hanlon17-Apr-09 9:17 
GeneralRe: app.config --&gt; xaml? Pin
devvvy17-Apr-09 14:36
devvvy17-Apr-09 14:36 
GeneralRe: app.config --&gt; xaml? Pin
Pete O'Hanlon19-Apr-09 8:24
mvePete O'Hanlon19-Apr-09 8:24 
GeneralRe: app.config --&gt; xaml? Pin
Jammer17-Apr-09 23:23
Jammer17-Apr-09 23:23 
Questionsame Xaml to port a WPF app to Silverlight? Pin
devvvy16-Apr-09 23:50
devvvy16-Apr-09 23:50 
AnswerRe: same Xaml to port a WPF app to Silverlight? Pin
Mark Salsbery17-Apr-09 8:47
Mark Salsbery17-Apr-09 8:47 
Questionhosting problem from local host? Pin
Piyush Vardhan Singh16-Apr-09 23:47
Piyush Vardhan Singh16-Apr-09 23:47 
AnswerRe: hosting problem from local host? Pin
Mark Salsbery17-Apr-09 8:50
Mark Salsbery17-Apr-09 8:50 
GeneralRe: hosting problem from local host? Pin
Piyush Vardhan Singh19-Apr-09 21:09
Piyush Vardhan Singh19-Apr-09 21:09 
GeneralRe: hosting problem from local host? Pin
Mark Salsbery20-Apr-09 5:46
Mark Salsbery20-Apr-09 5:46 
QuestionTreeview in expander Pin
Ravi Mori16-Apr-09 20:01
Ravi Mori16-Apr-09 20:01 
AnswerRe: Treeview in expander Pin
pc.rajesh.singh17-Apr-09 5:03
pc.rajesh.singh17-Apr-09 5:03 
QuestionResource dls Pin
Christian Graus16-Apr-09 15:56
protectorChristian Graus16-Apr-09 15:56 
AnswerRe: Resource dls Pin
Eslam Afifi16-Apr-09 17:06
Eslam Afifi16-Apr-09 17:06 
GeneralRe: Resource dls Pin
Christian Graus16-Apr-09 19:55
protectorChristian Graus16-Apr-09 19:55 

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.