You should try the monotouch or mono-mac lists for MonoTouch of MonoMac questions.<div><br></div><div>Anyway, what you want is probably something like this:</div><div><br></div><div>public UIView GetView (UIPickerView pickerView, int row, int component, UIView view) {</div>
<div>   UILabel tView = (UILabel)view;</div><div>   if (tView == null)</div><div>     tView = new UILabel ();</div><div>  ...</div><div>}</div><div><br></div><div>Remember to put this method in a class that extends UIPickerViewDelegate.</div>
<div><br></div><div>Hope it helped.</div><div><br></div><div>Cheers,</div><div>Rodrigo</div><div><br></div><div><br></div><div><div class="gmail_quote">On Wed, May 2, 2012 at 2:58 PM, Mike Murdock <span dir="ltr"><<a href="mailto:mmurdock@allmeds.com" target="_blank">mmurdock@allmeds.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal" align="center" style="margin-bottom:8.35pt;text-align:center;line-height:130%;background:#eeeeee">
<span style="line-height:130%;font-size:10.0pt;font-family:Consolas">- (</span><span style="font-size:10.0pt;line-height:130%;font-family:Consolas;color:#2b91af">UIView</span><span style="line-height:130%;font-size:10.0pt;font-family:Consolas">
 *)pickerView:(</span><span style="font-size:10.0pt;line-height:130%;font-family:Consolas;color:#2b91af">UIPickerView</span><span style="line-height:130%;font-size:10.0pt;font-family:Consolas"> *)pickerView viewForRow:(</span><span style="font-size:10.0pt;line-height:130%;font-family:Consolas;color:#2b91af">NSInteger</span><span style="line-height:130%;font-size:10.0pt;font-family:Consolas">)row
 forComponent:(</span><span style="font-size:10.0pt;line-height:130%;font-family:Consolas;color:#2b91af">NSInteger</span><span style="line-height:130%;font-size:10.0pt;font-family:Consolas">)component reusingView:(</span><span style="font-size:10.0pt;line-height:130%;font-family:Consolas;color:#2b91af">UIView</span><span style="line-height:130%;font-size:10.0pt;font-family:Consolas">
 *)view{ <u></u><u></u></span></p>
<p class="MsoNormal" align="center" style="margin-bottom:8.35pt;text-align:center;line-height:130%;background:#eeeeee">
<span style="line-height:130%;font-size:10.0pt;font-family:Consolas">    </span><span style="font-size:10.0pt;line-height:130%;font-family:Consolas;color:#2b91af">UILabel</span><span style="line-height:130%;font-size:10.0pt;font-family:Consolas">*
 tView = (</span><span style="font-size:10.0pt;line-height:130%;font-family:Consolas;color:#2b91af">UILabel</span><span style="line-height:130%;font-size:10.0pt;font-family:Consolas">*)view;
<u></u><u></u></span></p>
<p class="MsoNormal" align="center" style="margin-bottom:8.35pt;text-align:center;line-height:130%;background:#eeeeee">
<span style="line-height:130%;font-size:10.0pt;font-family:Consolas">    </span><span style="font-size:10.0pt;line-height:130%;font-family:Consolas;color:darkblue">if</span><span style="line-height:130%;font-size:10.0pt;font-family:Consolas">
 (!tView){ <u></u><u></u></span></p>
<p class="MsoNormal" align="center" style="margin-bottom:8.35pt;text-align:center;line-height:130%;background:#eeeeee">
<span style="line-height:130%;font-size:10.0pt;font-family:Consolas">        tView = [[</span><span style="font-size:10.0pt;line-height:130%;font-family:Consolas;color:#2b91af">UILabel</span><span style="line-height:130%;font-size:10.0pt;font-family:Consolas">
 alloc] init]; <u></u><u></u></span></p>
<p class="MsoNormal" align="center" style="margin-bottom:8.35pt;text-align:center;line-height:130%;background:#eeeeee">
<span style="line-height:130%;font-size:10.0pt;font-family:Consolas">            </span><span style="font-size:10.0pt;line-height:130%;font-family:Consolas;color:gray">// Setup label properties - frame, font, colors etc</span><span style="line-height:130%;font-size:10.0pt;font-family:Consolas">
<u></u><u></u></span></p>
<p class="MsoNormal" align="center" style="margin-bottom:8.35pt;text-align:center;line-height:130%;background:#eeeeee">
<span style="line-height:130%;font-size:10.0pt;font-family:Consolas">            ...
<u></u><u></u></span></p>
<p class="MsoNormal" align="center" style="margin-bottom:8.35pt;text-align:center;line-height:130%;background:#eeeeee">
<span style="line-height:130%;font-size:10.0pt;font-family:Consolas">    }
<u></u><u></u></span></p>
<p class="MsoNormal" align="center" style="margin-bottom:8.35pt;text-align:center;line-height:130%;background:#eeeeee">
<span style="line-height:130%;font-size:10.0pt;font-family:Consolas">    </span><span style="font-size:10.0pt;line-height:130%;font-family:Consolas;color:gray">// Fill the label text here</span><span style="line-height:130%;font-size:10.0pt;font-family:Consolas">
<u></u><u></u></span></p>
<p class="MsoNormal" align="center" style="text-align:center;line-height:130%;background:#eeeeee">
<span style="line-height:130%;font-size:10.0pt;font-family:Consolas">    ...
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">    </span><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:darkblue">return</span><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">
 tView;</span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<table border="0" cellpadding="0" width="289" style="width:216.75pt">
<tbody>
<tr>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><b><span style="font-size:19.0pt;font-family:"Times New Roman","serif";color:#000066">Michael Murdock
</span></b><span style="font-size:10.5pt;font-family:"Arial","sans-serif";color:#05009b"><br>
</span><i><span style="font-size:13.5pt;font-family:"Times New Roman","serif";color:#05009b">Software Engineer</span></i><span style="font-size:10.5pt;font-family:"Arial","sans-serif"">
<br>
<br>
</span><span style="font-size:11.5pt;font-family:"Times New Roman","serif""><a href="tel:%28865%29%20482-1999" value="+18654821999" target="_blank">(865) 482-1999</a><br>
<a href="tel:%28865%29%20481-0921" value="+18654810921" target="_blank">(865) 481-0921</a> fax<br>
<a href="http://www.allmeds.com" target="_blank"><span style="color:blue">www.allmeds.com</span></a></span><span style="font-size:10.5pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

<br>_______________________________________________<br>
Mono-devel-list mailing list<br>
<a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
<br></blockquote></div><br></div>