WPF Binding : Casting in binding path -


i've binding path set path=item.tag.caption, need cast item iedge first can access tag property. there way achieve this?

the solution problem, finally, use following syntax:

path=item.(mynamespace:iedge.tag).caption 

the previous code cast item type iedge in order access tag property.

in case of multiple nested casts global pattern :

path=obj1.(ns1:typeobj1.obj2).(ns2:typeobj2.obj3)...(nsn:typeobjn.bindedprop)  

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -