Click here to Skip to main content
15,915,867 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Scaling woes Pin
Ray Hayes4-Jun-08 2:45
Ray Hayes4-Jun-08 2:45 
GeneralRe: Scaling woes Pin
TJoe4-Jun-08 2:47
TJoe4-Jun-08 2:47 
GeneralRe: Scaling woes Pin
TJoe4-Jun-08 2:50
TJoe4-Jun-08 2:50 
GeneralRe: Scaling woes Pin
Ray Hayes4-Jun-08 2:52
Ray Hayes4-Jun-08 2:52 
GeneralRe: Scaling woes Pin
Member 36739221-Jul-09 19:56
Member 36739221-Jul-09 19:56 
Questionerror while opening new window from a Asynchronou callback function Pin
vayanan31-May-08 11:15
vayanan31-May-08 11:15 
AnswerRe: error while opening new window from a Asynchronou callback function Pin
User 2710091-Jun-08 11:25
User 2710091-Jun-08 11:25 
QuestionRouted Command passing data Pin
Jammer31-May-08 7:39
Jammer31-May-08 7:39 
Hi All,

I've been using RoutedCommand for pretty much all my commanding needs in WPF so far, they are great. However, I have one architectural question.

I want to move a load of my command logic into a different assembly rather than just using a routed command to kick off logic via code in my window code behind I was to off load everything to the other assembly. The problem I have is getting some information from the UI. Say I have an export database to XML routed command the button is hooked up to command bindings in window.xaml. The routed command needs to have a file path and name to export too so if this routed command was in a namespace referenced BY the UI how would I communicate the result of a FileDialog to the routed command logic in the other assembly?

Are there any options other than having the FileDialog.show() in the window.xaml.cs in order to get a file path and name to save to and then kicking off the exporttoXML() method in the datalayer?

Jammer

Going where everyone here has gone before! Smile | :)
My Blog

AnswerRe: Routed Command passing data Pin
User 2710091-Jun-08 11:27
User 2710091-Jun-08 11:27 
GeneralRe: Routed Command passing data Pin
Jammer1-Jun-08 12:32
Jammer1-Jun-08 12:32 
GeneralRe: Routed Command passing data Pin
User 2710092-Jun-08 1:07
User 2710092-Jun-08 1:07 
GeneralRe: Routed Command passing data Pin
Pete O'Hanlon2-Jun-08 1:19
mvePete O'Hanlon2-Jun-08 1:19 
GeneralRe: Routed Command passing data Pin
Jammer2-Jun-08 8:15
Jammer2-Jun-08 8:15 
QuestionHow to set the font a bit "bold" in WPF? Pin
robin.zeng30-May-08 3:41
robin.zeng30-May-08 3:41 
AnswerRe: How to set the font a bit "bold" in WPF? Pin
Jammer30-May-08 5:32
Jammer30-May-08 5:32 
QuestionCanvas with custom coordinate system? Pin
N3croman29-May-08 10:27
N3croman29-May-08 10:27 
AnswerRe: Canvas with custom coordinate system? Pin
Leblanc Meneses29-May-08 21:39
Leblanc Meneses29-May-08 21:39 
QuestionSaving a rotation Pin
Rohde29-May-08 6:17
Rohde29-May-08 6:17 
AnswerRe: Saving a rotation Pin
Rohde29-May-08 7:48
Rohde29-May-08 7:48 
QuestionDetermine image format Pin
Rohde29-May-08 0:22
Rohde29-May-08 0:22 
AnswerRe: Determine image format Pin
ChandraRam29-May-08 1:31
ChandraRam29-May-08 1:31 
GeneralRe: Determine image format Pin
Rohde29-May-08 2:11
Rohde29-May-08 2:11 
GeneralRe: Determine image format Pin
ChandraRam29-May-08 2:23
ChandraRam29-May-08 2:23 
GeneralRe: Determine image format Pin
Rohde29-May-08 2:28
Rohde29-May-08 2:28 
AnswerRe: Determine image format Pin
Insincere Dave29-May-08 6:39
Insincere Dave29-May-08 6:39 

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.