Click here to Skip to main content
15,897,704 members
Home / Discussions / WPF
   

WPF

 
QuestionMVVM newbie question - showing OpenFileDialog? Pin
Judah Gabriel Himango24-Oct-09 14:33
sponsorJudah Gabriel Himango24-Oct-09 14:33 
AnswerRe: MVVM newbie question - showing OpenFileDialog? Pin
Pete O'Hanlon25-Oct-09 9:36
mvePete O'Hanlon25-Oct-09 9:36 
GeneralRe: MVVM newbie question - showing OpenFileDialog? Pin
Judah Gabriel Himango25-Oct-09 16:01
sponsorJudah Gabriel Himango25-Oct-09 16:01 
GeneralRe: MVVM newbie question - showing OpenFileDialog? Pin
Pete O'Hanlon25-Oct-09 22:05
mvePete O'Hanlon25-Oct-09 22:05 
QuestionWpf Pin
miralireza24-Oct-09 8:44
miralireza24-Oct-09 8:44 
AnswerRe: Wpf Pin
Pete O'Hanlon24-Oct-09 9:13
mvePete O'Hanlon24-Oct-09 9:13 
QuestionWPF- Databinding set path Pin
DeepakMega23-Oct-09 8:25
DeepakMega23-Oct-09 8:25 
AnswerRe: WPF- Databinding set path Pin
Ian Shlasko23-Oct-09 8:57
Ian Shlasko23-Oct-09 8:57 
Use a converter.

Create a class that implements IValueConverter, and in the Convert() function, change it from "System.Windows.Media.Color.Blue" to "Blue" with some simple string parsing. Then just set it as the Converter property of the binding.

Your code is a bit confusing, though... You're binding the selected item to a textbox? Does the Name property contain an actual color object, or a name of a color? Something doesn't seem quite right.

Proud to have finally moved to the A-Ark. Which one are you in?
Developer, Author (Guardians of Xen)

GeneralRe: WPF- Databinding set path Pin
DeepakMega23-Oct-09 16:24
DeepakMega23-Oct-09 16:24 
QuestionRefresh and Browser Close In Silverlight Pin
Member 470467523-Oct-09 3:21
Member 470467523-Oct-09 3:21 
QuestionWPF: WPF Toolkit Datagrid. Capturing Key board events Pin
sameercodes22-Oct-09 23:12
sameercodes22-Oct-09 23:12 
QuestionRe: WPF: WPF Toolkit Datagrid. Capturing Key board events Pin
hhrafn23-Oct-09 5:04
hhrafn23-Oct-09 5:04 
AnswerRe: WPF: WPF Toolkit Datagrid. Capturing Key board events Pin
ausadmin23-Oct-09 14:17
ausadmin23-Oct-09 14:17 
QuestionDelete a control from Cider( WPF editor) through code [modified] Pin
Vinod C S21-Oct-09 23:12
Vinod C S21-Oct-09 23:12 
QuestionWPF DataGrid with DataGridTemplateColumn and RadioButton Pin
ausadmin21-Oct-09 20:51
ausadmin21-Oct-09 20:51 
AnswerRe: WPF DataGrid with DataGridTemplateColumn and RadioButton Pin
Suthagar.p25-Nov-09 21:56
Suthagar.p25-Nov-09 21:56 
QuestionHas anyone been able to make a Silverlight socket policy server work with port forwarding? Pin
fred_21-Oct-09 8:07
fred_21-Oct-09 8:07 
QuestionRe: Has anyone been able to make a Silverlight socket policy server work with port forwarding? Pin
Mark Salsbery21-Oct-09 8:52
Mark Salsbery21-Oct-09 8:52 
AnswerRe: Has anyone been able to make a Silverlight socket policy server work with port forwarding? Pin
fred_21-Oct-09 8:54
fred_21-Oct-09 8:54 
QuestionRe: Has anyone been able to make a Silverlight socket policy server work with port forwarding? Pin
Mark Salsbery21-Oct-09 8:59
Mark Salsbery21-Oct-09 8:59 
AnswerRe: Has anyone been able to make a Silverlight socket policy server work with port forwarding? Pin
fred_21-Oct-09 9:00
fred_21-Oct-09 9:00 
GeneralRe: Has anyone been able to make a Silverlight socket policy server work with port forwarding? Pin
Mark Salsbery21-Oct-09 9:19
Mark Salsbery21-Oct-09 9:19 
GeneralRe: Has anyone been able to make a Silverlight socket policy server work with port forwarding? Pin
fred_21-Oct-09 9:22
fred_21-Oct-09 9:22 
GeneralRe: Has anyone been able to make a Silverlight socket policy server work with port forwarding? Pin
fred_21-Oct-09 9:45
fred_21-Oct-09 9:45 
GeneralRe: Has anyone been able to make a Silverlight socket policy server work with port forwarding? Pin
Mark Salsbery21-Oct-09 10:05
Mark Salsbery21-Oct-09 10:05 

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.