Click here to Skip to main content
15,444,203 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Unselect text in textbox on textbox lostfocus event. Pin
pc.rajesh.singh23-Apr-09 23:53
Memberpc.rajesh.singh23-Apr-09 23:53 
GeneralRe: Unselect text in textbox on textbox lostfocus event. Pin
sivaddrahcir24-Apr-09 7:58
Membersivaddrahcir24-Apr-09 7:58 
QuestionHow to download file from a physical location in Silverlight? urgent......... Pin
salon17-Apr-09 3:49
Membersalon17-Apr-09 3:49 
AnswerRe: How to download file from a physical location in Silverlight? urgent......... Pin
Mark Salsbery17-Apr-09 8:42
MemberMark Salsbery17-Apr-09 8:42 
AnswerRe: How to download file from a physical location in Silverlight? urgent......... Pin
Braulio Dez17-Apr-09 9:01
MemberBraulio Dez17-Apr-09 9:01 
GeneralRe: How to download file from a physical location in Silverlight? urgent......... Pin
salon18-Apr-09 0:26
Membersalon18-Apr-09 0:26 
GeneralRe: How to download file from a physical location in Silverlight? urgent......... Pin
Braulio Dez18-Apr-09 9:06
MemberBraulio Dez18-Apr-09 9:06 
Questionapp.config --> xaml? [modified] Pin
devvvy16-Apr-09 23:55
Memberdevvvy16-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
mvaPete O'Hanlon17-Apr-09 2:13 
GeneralRe: app.config --&gt; xaml? Pin
devvvy17-Apr-09 5:58
Memberdevvvy17-Apr-09 5:58 
GeneralRe: app.config --&gt; xaml? Pin
Pete O'Hanlon17-Apr-09 9:17
mvaPete O'Hanlon17-Apr-09 9:17 
GeneralRe: app.config --&gt; xaml? Pin
devvvy17-Apr-09 14:36
Memberdevvvy17-Apr-09 14:36 
GeneralRe: app.config --&gt; xaml? Pin
Pete O'Hanlon19-Apr-09 8:24
mvaPete O'Hanlon19-Apr-09 8:24 
GeneralRe: app.config --&gt; xaml? Pin
Jammer17-Apr-09 23:23
MemberJammer17-Apr-09 23:23 
Questionsame Xaml to port a WPF app to Silverlight? Pin
devvvy16-Apr-09 23:50
Memberdevvvy16-Apr-09 23:50 
AnswerRe: same Xaml to port a WPF app to Silverlight? Pin
Mark Salsbery17-Apr-09 8:47
MemberMark Salsbery17-Apr-09 8:47 
Questionhosting problem from local host? Pin
Piyush Vardhan Singh16-Apr-09 23:47
MemberPiyush Vardhan Singh16-Apr-09 23:47 
AnswerRe: hosting problem from local host? Pin
Mark Salsbery17-Apr-09 8:50
MemberMark Salsbery17-Apr-09 8:50 
GeneralRe: hosting problem from local host? Pin
Piyush Vardhan Singh19-Apr-09 21:09
MemberPiyush Vardhan Singh19-Apr-09 21:09 
GeneralRe: hosting problem from local host? Pin
Mark Salsbery20-Apr-09 5:46
MemberMark Salsbery20-Apr-09 5:46 
QuestionTreeview in expander Pin
Ravi Mori16-Apr-09 20:01
MemberRavi Mori16-Apr-09 20:01 
AnswerRe: Treeview in expander Pin
pc.rajesh.singh17-Apr-09 5:03
Memberpc.rajesh.singh17-Apr-09 5:03 
QuestionResource dls Pin
Christian Graus16-Apr-09 15:56
mveChristian Graus16-Apr-09 15:56 
AnswerRe: Resource dls Pin
Eslam Afifi16-Apr-09 17:06
MemberEslam Afifi16-Apr-09 17:06 
GeneralRe: Resource dls Pin
Christian Graus16-Apr-09 19:55
mveChristian 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.