Thursday, 15 March 2012

binding - Is it possible for an element in xaml to bind against several paths? -



binding - Is it possible for an element in xaml to bind against several paths? -

in xaml, have button bound path "haswritepermission" on it's visibility tag. possible add together path on same tag? want hide button based on logic.

to give context, button delete button should not visible if given list empty

have @ multi binding

<datagridtextcolumn.binding> <multibinding converter="{quire_ui_value_converters:discountconverter}" mode="twoway" notifyonsourceupdated="true" updatesourcetrigger="lostfocus"> <binding path="discount_taken_value" mode="twoway"/> <binding path="discount_taken_type" mode="twoway"/> </multibinding> </datagridtextcolumn.binding>

xaml binding path

No comments:

Post a Comment