The syntax should be the exact same as what you have for Button.Content
- just replace "Content"
with "IsEnabled"
.
<Button.IsEnabled>
<MultiBinding Converter="{StaticResource myMultiValueConverter}">
<Binding ... />
<Binding ... />
<Binding ... />
</MultiBinding>
</Button.IsEnabled>
It might not auto-complete for you because the IsEnabled
property expects a boolean value, not a MultiBinding
object, but it shouldn't give you any errors, and will compile and execute just fine.
(It auto-completes for Button.Content
because the Content
property is of type object
, which includes a MultiBinding
object)