Hi All, I am using the command pattern Jonas and Jordan use from the SLExtensions project. My question is how to pass a complete object to the parameter?
<Button x:Name="EditButton"
input:CommandService.Command="EditItem"
input:CommandService.CommandParameter="" Visibility="{Binding IsEditable,
Converter={StaticResource visConverter}, Source={StaticResource dotNetNuke}}"
Margin="5,5,5,5">
What goes here input:CommandService.CommandParameter=""
To pass the datacontext of that "record". Its in a ItemsControl bound to a
list of objects.
Regards,
Philip Beadle
Readify | Principal Consultant
Microsoft MVP - ASP/ASP.NET, MCAD, MCT
[cid:[email protected]]
Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
M: +61 417 301 024 | E: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> | C: [EMAIL
PROTECTED]<sip:[EMAIL PROTECTED]> | W: www.readify.net<http://www.readify.net/>
________________________________
The content of this e-mail, including any attachments is a confidential
communication between Readify Pty Ltd and the intended addressee and is for the
sole use of that intended addressee. If you are not the intended addressee, any
use, interference with, disclosure or copying of this material is unauthorized
and prohibited. If you have received this e-mail in error please contact the
sender immediately and then delete the message and any attachment(s).
P Please consider your environmental responsibility before printing this e-mail
-------------------------------------------------------------------
OzSilverlight.com - to unsubscribe from this list, send a message back to the
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net
<<inline: image001.gif>>
