Skip to main content

bulleted list?RSS Feed

(0)

ej.styrfart
ej.styrfart

Member

Member

2 points

2 Posts

bulleted list?

 Hi,

 How do I create a bulleted list inside a textblock?

 

//conny 

swirlingmass
swirling...

Participant

Participant

1358 points

385 Posts

Re: bulleted list?

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
ej.styrfart

Member

Member

2 points

2 Posts

Re: bulleted list?

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
kp2712

Member

Member

8 points

7 Posts

Re: bulleted list?

hi,

i have to do the same thing...can you please share the code for adding the bullets using the ALT+0149 & run..

WynApse
WynApse

Star

Star

9976 points

342 Posts

Silverlight MVP

Re: bulleted list?

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

Stay in the 'Light
Silverlight MVP
http://www.wynapse.com

rob_abernethy
rob_aber...

Member

Member

20 points

7 Posts

Re: bulleted list?

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
Asheesh ...

Member

Member

2 points

1 Posts

Re: bulleted list?

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

sl.ayer
sl.ayer

Participant

Participant

1230 points

209 Posts

Re: bulleted list?

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
18

Member

Member

2 points

1 Posts

How to use Silverlight with LMS system?

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
Pluginbaby

Member

Member

652 points

243 Posts

Silverlight MVP

Re: How to use Silverlight with LMS system?

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.

(If this has answered your question, please click on "Mark as Answer" on this post. Thank you!)

Laurent Duveau
Silverlight MVP / Silverlight Insider
http://weblogs.asp.net/lduveau/
  • Unanswered Question
  • Answered Question
  • Announcement