WPF PriorityBinding and MultiBinding

Total Post:102

Points:714

WPF 
WPF
 3359  View(s)
Ratings:
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>
  1. Re: WPF PriorityBinding and MultiBinding

    Hi Mark,


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

      Modified On Apr-04-2018 12:02:44 AM

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.