Have you added new property to code behind file and registered in Kentico? If this has been done I'd inject this property value into markup with regular asp syntax:
<span class="ico <%# IconSelection%>"></span>
I don't think Kentico resolves marco in web part layout...