Home > DeveloperSection > Forums > WPF PriorityBinding and MultiBinding
Mark Devid
Mark Devid

Total Post:102

Points:714
Posted on    December-17-2013 1:16 AM

 WPF WPF 
Ratings:


 1 Reply(s)
 2087  View(s)
Rate this:

Is it possible to mix and PriorityBinding MultiBinding in WPF?

<TextBlock>

  <TextBlock.Text>

    <PriorityBinding TargetNullValue="{x:Static sys:String.Empty}">

      <Binding Path="Client.Address.PoBox" />

      <MultiBinding StringFormat="{}{0} {1}">

        <Binding Path="Client.Address.Street.Name" />

        <Binding Path="Client.Address.Street.Number" />

      </MultiBinding>

    </PriorityBinding>

  </TextBlock.Text>

</TextBlock>



Pravesh Singh

Total Post:411

Points:2881
Posted on    December-17-2013 1:44 AM

Hi Mark,

The WPF Priority Binding accepts only Binding type of objects and not MultiBinding. So I dont think it is possible

Don't want to miss updates? Please click the below button!

Follow MindStick