If I were going to do this, I would create a new class that extended button 
with a couple of public properties - one to set the icon side and one to set 
the icon type.



--- In [email protected], "tchredeemed" <apth...@...> wrote:
>
> I have always wondered what the best way to do this was:
> 
> I need to create a reusable button, but this button will sometimes have an 
> arrow on the right side, an 'x' on the right side, or nothing on the right 
> side. There might be the possibility to have these on the left side too.
> 
> I have attempted this before, but I have never really come up with an elegant 
> solution. Just wondering what the best/cleanest way to do this would be?
> 
> Thanks!
>


Reply via email to