# ...DefaultTextStyle.Format

**URL:** <https://community.thinkgeo.com/t/defaulttextstyle-format/280>\
**Category:** WinForms\
**Created:** [March 13, 2009, 3:59pm UTC](https://community.thinkgeo.com/t/defaulttextstyle-format/280 "2009-03-13T15:59:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nick\_dubow](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/n/977dab/32.png) [@nick\_dubow](https://community.thinkgeo.com/u/nick_dubow)\
**Post date:** [March 13, 2009, 3:59pm UTC](https://community.thinkgeo.com/t/defaulttextstyle-format/280/1 "2009-03-13T15:59:46Z")

</div>

I&nbsp;am&nbsp;trying&nbsp;to&nbsp;format&nbsp;the&nbsp;values&nbsp;used&nbsp;by&nbsp;a&nbsp;ClassBreak&nbsp;object.&nbsp;On&nbsp;another&nbsp;forum&nbsp;thread&nbsp;I&nbsp;saw&nbsp;the&nbsp;following&nbsp;format:

TextSymbol.NumberFormat&nbsp;=&nbsp;"{0:###,###,###}";

So&nbsp;I&nbsp;tried:

classBreak1.DefaultTextStyle.Format&nbsp;=

"{0:###,###,###}";

It&nbsp;did&nbsp;not&nbsp;work.&nbsp;The&nbsp;values&nbsp;display&nbsp;fine,&nbsp;but&nbsp;the&nbsp;formatting&nbsp;is&nbsp;not&nbsp;applied.&nbsp;Any&nbsp;ideas?

&nbsp;

Thanks,

Nick

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [March 15, 2009, 9:42pm UTC](https://community.thinkgeo.com/t/defaulttextstyle-format/280/2 "2009-03-15T21:42:45Z")

</div>

Nick,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Welcome&nbsp;to&nbsp;the&nbsp;community,&nbsp;and&nbsp;thanks&nbsp;for&nbsp;helping&nbsp;us&nbsp;find&nbsp;a&nbsp;bug&nbsp;in&nbsp;your&nbsp;first&nbsp;message!&nbsp;We&nbsp;confirmed&nbsp;this&nbsp;property&nbsp;doesn’t&nbsp;work&nbsp;right&nbsp;and&nbsp;we&nbsp;will&nbsp;fix&nbsp;it&nbsp;in&nbsp;the&nbsp;next&nbsp;version.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;again,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Ben

---

<div class="post-metadata">

**Author:** ![nick\_dubow](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/n/977dab/32.png) [@nick\_dubow](https://community.thinkgeo.com/u/nick_dubow)\
**Post date:** [March 16, 2009, 7:55am UTC](https://community.thinkgeo.com/t/defaulttextstyle-format/280/3 "2009-03-16T07:55:16Z")

</div>

Thanks&nbsp;Ben&nbsp;for&nbsp;the&nbsp;response.&nbsp;Much&nbsp;appreciated.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Nick

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [March 16, 2009, 9:41pm UTC](https://community.thinkgeo.com/t/defaulttextstyle-format/280/4 "2009-03-16T21:41:52Z")

</div>

My&nbsp;pleasure,&nbsp;Nick.
