Click here to Skip to main content
16,011,784 members
Home / Discussions / WPF
   

WPF

 
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 
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 
If you want to pass additional information in the Command event args, then derive a class that has the data you need.

You'll need to write a custom command with custom command args. Very easy to do.

However...

Not sure what you are doing here. Typicaly, data layers don't handle Commands or UI interaction like FileDialog.Show. Maybe you want to handle the file selection in the UI and then call a method and pass it the file name?

Cheers, Karl

» CodeProject 2008 MVP
» Microsoft MVP - Client App Dev

My Blog | Mole's Home Page | MVP Profile

Just a grain of sand on the worlds beaches.



modified 27-Feb-21 21:01pm.

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 
GeneralRe: Determine image format [modified] Pin
Rohde29-May-08 7:38
Rohde29-May-08 7:38 
Question3 ways to create a spring animation .. need help with 2 of them .. partially implemented. Pin
Leblanc Meneses28-May-08 20:57
Leblanc Meneses28-May-08 20:57 
AnswerRe: 3 ways to create a spring animation .. need help with 2 of them .. partially implemented. Pin
Leblanc Meneses29-May-08 21:35
Leblanc Meneses29-May-08 21:35 

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.