Re: Equivalent of Tag on Label

Mike Andrews <[email protected]> Fri, 27 Jul 2007 07:52:08 -0500
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
I'm not sure exactly as to what you are referring.
To any custom object you can add a "Tag" object property to utilize such
functionality.
Also, just use the Tag property of the Label to do that or if you're using a
control that doesn't have it and you need it, create an inherited control
and add the property.

Mike

On 7/27/07, Brady Kelly <[email protected]> wrote:
>
> How could I emulate storing meta data for a Label control in its Tag
> property, as with WinForms Label control?  I want to store a lot number
> associated with a label on that label, so when I iterate a data
> collection,
> I can access data for a label by its 'tag' property.
>
>
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
>
> View archives and manage your subscription(s) at
> http://discuss.develop.com
>

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com