473,490 Members | 2,487 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to draw a dashed Line with dash separated by

1 New Member
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
Aug 19 '13 #1
2 7549
ThatThatGuy
449 Recognized Expert Contributor
You need to fill dashed characters programmtically.
Its not possible through XAML
Aug 19 '13 #2
Frinavale
9,735 Recognized Expert Moderator Expert
Umm?
Would something like this do:
Expand|Select|Wrap|Line Numbers
  1. <TextBlock Text="-L-L-L-L" />
-Frinny
Aug 20 '13 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
30723
by: R | last post by:
Hello everybody! I'm newbie to JavaScript and I have a basic question. I have X and Y coordinates of A and B points. How can I draw a line connecting A and B? thanks in advance cheers
5
6467
by: Matt | last post by:
I am writing a recursive program to draw the lines recursively, given the range and number of intervals (n) between the range. The problem is I don't know how to draw the line in point 0.375, as...
4
734
by: Mathieu Chavoutier | last post by:
Hi. I would like to do something like paint. I try to draw a line. I want, like paint, that when I clickdown, it begins to draw the line, and then, when I move the mouse, the line follow the...
3
15959
by: Steve | last post by:
Hi All, I am sure this is a simple question, but how do I draw a line onto a windows form in VB.NET, or any shape for that matter. VB6 had a line and shape control that you could use. ...
4
1863
by: Geoff | last post by:
Hi Can anybody give me some ideas/code to get a dashed line on a form to be animated i.e. the dashed lines move in one direction? Thanks in advance Geoff
4
30787
by: Jason Huang | last post by:
Hi, In my C# Windows Form, how do I draw a Line? Thanks for help. Jason
4
13395
by: jessy | last post by:
can anybody tell me how to draw a dashed line in c i've drawn a dotted one using a simple for but i can't figure out how to make it dashed ... i need a for loop that is increasing constantly...
1
4348
by: berry | last post by:
Hi all.. How to draw a line graph? My axis-x is the daily hour from 8am to 8pm. Can i use a XY mschart type to draw it? Or I must use a picture box to draw it? If with XY chart type, how to draw?...
1
3989
by: vikvikash | last post by:
i am creating a site using c sharp where i am using google map i would like to know how to draw line along the road on the map(i mean the source to draw the line)
2
5453
complete
by: complete | last post by:
How do you draw a line on a canvas in WPF that is 1 pixel thick? This is the method I am using for drawing a line on a canvas in WPF that uses the line class set to 1 pixel thick but it actually...
0
7146
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7183
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6852
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7356
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5448
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4878
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3074
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1389
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
628
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.