Answers for "binding two value textblock"

0

binding two value textblock

<TextBlock>
    <TextBlock.Text>    
        <MultiBinding StringFormat="{}{0} + {1}">
            <Binding Path="Name" />
            <Binding Path="ID" />
        </MultiBinding>
    </TextBlock.Text>
</TextBlock>
Posted by: Guest on August-20-2021
0

binding two value textblock

<StackPanel>
        <TextBlock>
            <Run Text="{Binding Strain}"></Run>
            <Run Text="/"></Run>
            <Run Text="{Binding MaximumStrain}"></Run>
        </TextBlock>
    </StackPanel>
Posted by: Guest on August-20-2021

Browse Popular Code Answers by Language