Silverlight Control property as a data binding Source and View-Model property as target -


i have property on silverlight control viewmodel wants bind to. viewmodel need told of changes property not other way around

syntax

<mycontrol viewport="{binding vmproperty}"/> 

declares viewport target, in instance viewport source of data. know make twoway binding seems wrong when want 1 way in other direction.

besides not want make property on control dependencyproperty because not want property settable , not beleive silverlight supports read dependency properties.

is there different way of setting binding?

tia

pat long

maybe works? http://forums.silverlight.net/forums/p/141042/315359.aspx#315359

{binding elementname=textbox1, path=text, mode=twoway ,updatesourcetrigger=explicit}


Comments

Popular posts from this blog

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

xslt - Umbraco and EXSLT sets do not work -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -