wpf - Adding MultiBinding and Binding to Resources collection -
why not possible?
i use same binding in lot of places , hate copy , paste same xaml instead of use resource...
any way to this?
thanks!
define bindings within style can reside resource.
<style x:key="mystyle"> <setter property="background"> <setter.value> <multibinding converter="{staticresource myconverter}" > <multibinding.bindings> <binding.../> <binding.../> </multibinding.bindings> </multibinding> </setter.value> </setter> </style>
Comments
Post a Comment