How to draw a dashed Line with dash separated by

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sneh19
    New Member
    • Aug 2013
    • 1

    How to draw a dashed Line with dash separated by

    I want to draw a dashed line in WPF with space in line replaced by alphabets.

    For example: -L-L-L-L
    or -X-X-X-X-

    Please could anyone provide code for this
  • ThatThatGuy
    Recognized Expert Contributor
    • Jul 2009
    • 453

    #2
    You need to fill dashed characters programmtically .
    Its not possible through XAML

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Umm?
      Would something like this do:
      Code:
      <TextBlock Text="-L-L-L-L" />
      -Frinny

      Comment

      Working...