Guest User

Untitled

a guest
Apr 23rd, 2021
6
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <StackPanel>
  2.     <TextBox x:Name="text" MaxLength="5"/>
  3.     <TextBlock>
  4.         <Run Text="{Binding Text.Length, ElementName=text, Mode=OneWay}"/>
  5.         <Run Text=" / "/>
  6.         <Run Text="{Binding MaxLength, ElementName=text}" />
  7.     </TextBlock>
  8. </StackPanel>
RAW Paste Data