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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -