I find it strange because when working with a Silverlight Application in Expression Blend there is a 'List' tab in the text properties, but this tab is not enabled. Neither is the 'Paragraph' or 'Line indent' tabs.
Is this still the preferred method for creating a bulleted list? When the text wraps, how do you indent the next line so it aligns with the first line's text and not the bullet?
StackPanel or Grid would be much better suited for building bullet list then using textblock. Make Grid with as many rows as you need and two columns. In the first column place your bullet symbol or image or roman numeral. In the second column place textblock
with text. This way you will have full control of presentation (margins, borders, alignments...). If you use bullet list a lot make your own BulletList item control and share it with us. We all win.
ej.styrfart
Member
2 Points
2 Posts
bulleted list?
Sep 27, 2007 10:18 AM | LINK
Hi,
How do I create a bulleted list inside a textblock?
//conny
swirlingmass
Participant
1358 Points
385 Posts
Re: bulleted list?
Sep 27, 2007 04:24 PM | LINK
Good question. You can type a bullet with the alt+0149 key combination. You can use runs and linebreaks to make it appear as a list.
ej.styrfart
Member
2 Points
2 Posts
Re: bulleted list?
Sep 28, 2007 05:20 AM | LINK
Ok, thanks.
I find it strange because when working with a Silverlight Application in Expression Blend there is a 'List' tab in the text properties, but this tab is not enabled. Neither is the 'Paragraph' or 'Line indent' tabs.
kp2712
Member
8 Points
7 Posts
Re: bulleted list?
Oct 10, 2007 12:16 PM | LINK
hi,
i have to do the same thing...can you please share the code for adding the bullets using the ALT+0149 & run..
WynApse
Star
14658 Points
343 Posts
Re: bulleted list?
Oct 10, 2007 05:30 PM | LINK
Here's the 'run' example from msdn done with a 'bullet' in front:
<TextBlock
FontFamily="Arial" Width="400" Text="Sample text formatting runs">
<LineBreak/>
<Run Foreground="Maroon" FontFamily="Courier New" FontSize="24">• Courier New 24</Run>
<LineBreak/>
<Run Foreground="Teal" FontFamily="Times New Roman" FontSize="18" FontStyle="Italic">• Times New Roman Italic 18</Run>
<LineBreak/>
<Run Foreground="SteelBlue" FontFamily="Verdana" FontSize="14" FontWeight="Bold">• Verdana Bold 14</Run>
</TextBlock>
-Dave
Silverlight MVP
http://www.wynapse.com
rob_abernethy
Member
20 Points
7 Posts
Re: bulleted list?
Apr 10, 2008 03:01 PM | LINK
Is this still the preferred method for creating a bulleted list? When the text wraps, how do you indent the next line so it aligns with the first line's text and not the bullet?
Asheesh Soni
Member
2 Points
1 Post
Re: bulleted list?
Aug 14, 2009 02:09 AM | LINK
Surprisingly, there is no bullet list even in SL3. Here's a quick and easy way to render an array as an unordered list in silverlight:
http://asheeshsoni.blogspot.com/2009/08/bulleted-list-in-silverlight.html
silveright ul bullet list .net
sl.ayer
Participant
1693 Points
288 Posts
Re: bulleted list?
Aug 14, 2009 05:46 AM | LINK
StackPanel or Grid would be much better suited for building bullet list then using textblock. Make Grid with as many rows as you need and two columns. In the first column place your bullet symbol or image or roman numeral. In the second column place textblock with text. This way you will have full control of presentation (margins, borders, alignments...). If you use bullet list a lot make your own BulletList item control and share it with us. We all win.
18
Member
4 Points
2 Posts
How to use Silverlight with LMS system?
Oct 12, 2009 10:44 AM | LINK
Hi,
I am new to silverlight. I want to use silverlight for LMS system.
I want know that, is this possible in silverlight or not?
Thanks & Regards
satish dugasani
Pluginbaby
Participant
955 Points
346 Posts
Re: How to use Silverlight with LMS system?
Oct 27, 2009 05:31 PM | LINK
Hi,
For your LMS question you should ask in a new thread, or have a look at this one:
http://forums.silverlight.net/forums/t/31307.aspx
Regards.
Laurent Duveau
Silverlight MVP / Silverlight Insider
http://weblogs.asp.net/lduveau/