Command capabilities

Topics: CAB & Smart Client Software Factory
Jul 7, 2006 at 7:35 AM
originally posted by: rbardrof

Is it possible for a Command and the matching CommandHandler to pass any meaningful information? In my application I pass a group of action items to a context UIExtensionSite and I add an invoker for each of the items. I then have to create a hardcoded CommandHandler for each of the items. I would rather create a command/invoker for the group and have the command pass which item was selected back to a CommandHandler for the group. Is this wishful thinking?
Jul 12, 2006 at 6:14 AM
originally posted by: AndrePiwoni

Currently it is not possible since EventArgs are empty for CommandHandler.

Here's a link to more detailed explanation if you are interested:

http://www.gotdotnet.com/codegallery/messageboard/thread.aspx?id=22f72167-af95-44ce-a6ca-f2eafbf2653c&mbid=5194517d-42c9-4cfd-b7a5-87d7cebc6c60&threadid=dfa38f94-9fc6-45de-bd40-b93b369ef1fb