putting multibinding on a single line in xaml

Posted by Adam S on Stack Overflow See other posts from Stack Overflow or by Adam S
Published on 2010-06-02T17:07:59Z Indexed on 2010/06/03 2:44 UTC
Read the original article Hit count: 535

Filed under:
|
|
|
|

Is there a way to take this multibinding:

<TextBox.IsEnabled>
    <MultiBinding Converter="{StaticResource LogicConverter}">
        <Binding ElementName="prog0_used" Path="IsEnabled" />
        <Binding ElementName="prog0_used" Path="IsChecked" />
    </MultiBinding>
</TextBox.IsEnabled>

and put is all on one line, as in <TextBox IsEnabled="" />?

If so, where can I learn the rules of this formattiong?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about Xml