views:

22

answers:

1

In the MSDN documentation, it documents that you can set the UpdateSourceTrigger to an event of your choosing...

MSDN UpdateSourceTrigger Documentation

I can't seem to get this to work in Silverlight, as it is seems to want either Explicit or Default...

If this is only for WPF - how can you tell from the documentation that Silverlight is excluded?

A: 

The UpdateSourceTrigger is not an event, but an enumeration.

See http://msdn.microsoft.com/en-us/library/system.windows.data.updatesourcetrigger.aspx

So, what you are seeing are the choices available to Silverlight.

SergioL
Ok so I have an UpdateSourceTrigger property that takes an enumeration of UpdateSourceTrigger - why does not Silverlight show the enumeration values of: PropertyChanged and LostFocus? Likely these are not in the Silverlight CLR - but my question is how can you tell?
codputer
Here's the Silverlight page: http://msdn.microsoft.com/en-us/library/system.windows.data.updatesourcetrigger%28v=VS.95%29.aspx
SergioL