Hi Benedikt, The native way to enhance the Elements in MonoTouch.Dialog is to create derived classes that inherit from the *Element types. e.g. you could create a class called TaggedRadioElement that inherits from RadioElement but adds your Tag property for use in your own code.
2012/2/6 Benedikt Hübschen <[email protected]> > Hi, > > I'm using MT.Dialog now for 2-3 weeks now and changed it a bit.. Now after > upgrading to MT 5 i saw that MT.Dialog will be/is a part of MT now. > Surly it will be better using the "official" version of MTD, but i have > added a "Tag" property to Element and changed from NSAction to "ElementTapped > (object sender);" to make it possible to change the clicked Element > (changing subtitle, color or anything else) and pass more informations > using "Tag" (i.E. id of the record from the sql-table i've used to build > the table) > > Is there a "native" way to to this with MTD? > > Thanks and regards, > Benedikt > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
