Click here to Skip to main content
15,849,785 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Unselect text in textbox on textbox lostfocus event. Pin
pc.rajesh.singh24-Apr-09 0:53
pc.rajesh.singh24-Apr-09 0:53 
GeneralRe: Unselect text in textbox on textbox lostfocus event. Pin
sivaddrahcir24-Apr-09 8:58
sivaddrahcir24-Apr-09 8:58 
QuestionHow to download file from a physical location in Silverlight? urgent......... Pin
salon17-Apr-09 4:49
salon17-Apr-09 4:49 
AnswerRe: How to download file from a physical location in Silverlight? urgent......... Pin
Mark Salsbery17-Apr-09 9:42
Mark Salsbery17-Apr-09 9:42 
AnswerRe: How to download file from a physical location in Silverlight? urgent......... Pin
Braulio Dez17-Apr-09 10:01
Braulio Dez17-Apr-09 10:01 
GeneralRe: How to download file from a physical location in Silverlight? urgent......... Pin
salon18-Apr-09 1:26
salon18-Apr-09 1:26 
GeneralRe: How to download file from a physical location in Silverlight? urgent......... Pin
Braulio Dez18-Apr-09 10:06
Braulio Dez18-Apr-09 10:06 
Questionapp.config --> xaml? [modified] Pin
devvvy17-Apr-09 0:55
devvvy17-Apr-09 0: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 3:13
subeditorPete O'Hanlon17-Apr-09 3:13 
GeneralRe: app.config --&gt; xaml? Pin
devvvy17-Apr-09 6:58
devvvy17-Apr-09 6:58 
GeneralRe: app.config --&gt; xaml? Pin
Pete O'Hanlon17-Apr-09 10:17
subeditorPete O'Hanlon17-Apr-09 10:17 
GeneralRe: app.config --&gt; xaml? Pin
devvvy17-Apr-09 15:36
devvvy17-Apr-09 15:36 
GeneralRe: app.config --&gt; xaml? Pin
Pete O'Hanlon19-Apr-09 9:24
subeditorPete O'Hanlon19-Apr-09 9:24 
GeneralRe: app.config --&gt; xaml? Pin
Jammer18-Apr-09 0:23
Jammer18-Apr-09 0:23 
Questionsame Xaml to port a WPF app to Silverlight? Pin
devvvy17-Apr-09 0:50
devvvy17-Apr-09 0:50 
AnswerRe: same Xaml to port a WPF app to Silverlight? Pin
Mark Salsbery17-Apr-09 9:47
Mark Salsbery17-Apr-09 9:47 
Questionhosting problem from local host? Pin
Piyush Vardhan Singh17-Apr-09 0:47
Piyush Vardhan Singh17-Apr-09 0:47 
AnswerRe: hosting problem from local host? Pin
Mark Salsbery17-Apr-09 9:50
Mark Salsbery17-Apr-09 9:50 
GeneralRe: hosting problem from local host? Pin
Piyush Vardhan Singh19-Apr-09 22:09
Piyush Vardhan Singh19-Apr-09 22:09 
GeneralRe: hosting problem from local host? Pin
Mark Salsbery20-Apr-09 6:46
Mark Salsbery20-Apr-09 6:46 
QuestionTreeview in expander Pin
Ravi Mori16-Apr-09 21:01
Ravi Mori16-Apr-09 21:01 
AnswerRe: Treeview in expander Pin
pc.rajesh.singh17-Apr-09 6:03
pc.rajesh.singh17-Apr-09 6:03 
QuestionResource dls Pin
Christian Graus16-Apr-09 16:56
protectorChristian Graus16-Apr-09 16:56 
AnswerRe: Resource dls Pin
Eslam Afifi16-Apr-09 18:06
Eslam Afifi16-Apr-09 18:06 
GeneralRe: Resource dls Pin
Christian Graus16-Apr-09 20:55
protectorChristian Graus16-Apr-09 20: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.