here is a version/code sample online

http://silverlight-essentials.com/blog/?p=55

"ExtendedInvokeCommandAction"

 

Whew! This almost worked. After 15 minutes of stuffing around references and
adding the ExtendedInvokeCommandAction class to my project I managed to get
the Command appearing in Blend 3 Assets/Behaviors. Then I dragged the
behaviour onto my Button and XAML changed to this:

 

<Button x:Name="btnPropSave" Content="Save" Style="{StaticResource
CommandButtonStyle}" >

    <i:Interaction.Triggers>

        <i:EventTrigger EventName="Click">

            <shared:ExtendedInvokeCommandAction Command="{Binding
SaveCommand}"/>

        </i:EventTrigger>

    </i:Interaction.Triggers>

</Button>

 

This compiled and run okay at first, but after I added the part in red it
died at runtime with AG_E_PARSER_BAD_PROPERTY_VALUE. Now I'm totally
roadblocked at this error. Oh well, I'll keep slogging away...

 

Greg

 

 

_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to