Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Set XAML Property Binding via Model Item

$
0
0

I know that something like:

myModelItem.Properties["myProperty"].ComputedValue = value;

will produce a writing in the .Xaml file like:

<myElement myProperty=value />

Now, what I need to do is to create a Binding using the ModelItem, to obtain something like:

<myElement myProperty="{Binding ElementName=rTCommand, Mode=OneWay}" />

Is there a way to achieve this?


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>