# IconValueStyle

**URL:** <https://community.thinkgeo.com/t/iconvaluestyle/1455>\
**Category:** WinForms\
**Created:** [October 7, 2010, 9:23am UTC](https://community.thinkgeo.com/t/iconvaluestyle/1455 "2010-10-07T09:23:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piotr](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/p/839c29/32.png) [@Piotr](https://community.thinkgeo.com/u/Piotr)\
**Post date:** [October 7, 2010, 9:23am UTC](https://community.thinkgeo.com/t/iconvaluestyle/1455/1 "2010-10-07T09:23:02Z")

</div>

&nbsp;How&nbsp;to&nbsp;use&nbsp;IconValueStyle&nbsp;&nbsp;without&nbsp;Text&nbsp;visible&nbsp;on&nbsp;the&nbsp;icon&nbsp;(with&nbsp;the&nbsp;key&nbsp;not&nbsp;empty).Using&nbsp;transparent&nbsp;color&nbsp;for&nbsp;text&nbsp;also&nbsp;make&nbsp;transparent&nbsp;icon.&nbsp;

How&nbsp;to&nbsp;make&nbsp;text&nbsp;to&nbsp;be&nbsp;near&nbsp;icon&nbsp;in&nbsp;IconValueStyle?

&nbsp;

Best&nbsp;regards

Piotr

---

<div class="post-metadata">

**Author:** ![Val](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/v/e56c9b/32.png) [@Val](https://community.thinkgeo.com/u/Val)\
**Post date:** [October 7, 2010, 4:36pm UTC](https://community.thinkgeo.com/t/iconvaluestyle/1455/2 "2010-10-07T16:36:51Z")

</div>

If&nbsp;you&nbsp;don't&nbsp;need&nbsp;text&nbsp;on&nbsp;top&nbsp;of&nbsp;the&nbsp;Icon,&nbsp;I&nbsp;think&nbsp;you&nbsp;should&nbsp;use&nbsp;a&nbsp;regular&nbsp;PointStyle.&nbsp;See&nbsp;the&nbsp;code&nbsp;below.&nbsp;I&nbsp;hope&nbsp;this&nbsp;is&nbsp;what&nbsp;you&nbsp;need:

&nbsp;

`ValueStyle valueStyle = new ValueStyle();valueStyle.ColumnName = "MyColumnName";valueStyle.ValueItems.Add(new ValueItem("Value1", new PointStyle(new GeoImage(IconPath1))));valueStyle.ValueItems.Add(new ValueItem("Value1", new PointStyle(new GeoImage(IconPath2))));`
