WPF PRIORITYBINDING AND MULTIBINDING

Total Post:102

Points:714
WPF 
WPF
 2859  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. Post:412

    Points:2888
    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

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!