tags:

views:

29

answers:

2

hi guys, say I have this Button markup:

<Button Visibility={Binding Path=Mode, Converter{StaticResource VisibilityConverter}, ConverterParameter=<i want Button.Content here>}

Where the Button.Content is something I want to put at the expression for ConverterParameter. It refers to the current Button's Content property. Thanks, any help would be appreciated.

+1  A: 

I think you will have to use MultiBinding and RelativeSource Self to bind the second binding to your Content property.

Tony