Hi,
Please ignore the following message. It was an issue with one of my
libraries. I have to clean and rebuild when I make changes to the library
otherwise it uses the older version of the library(dll).


Thanks
Art

On Wed, Sep 12, 2012 at 11:02 AM, Art <[email protected]> wrote:

> When I call  this.SetNeedsDisplayInRect(recDisplay),  I expect rectDraw to
> be
> equal to recDisplay but the recDraw  doesn't change. When I debug it
> recDraw
> is always equal to VIew.Frame
>
> Is this a bug?
>
>
> public class DrawView :UIView
>         {
> public override void Draw (RectangleF rectDraw)
>         {
>           }
>
> public void RefreshLeftTop(){
> RectangleF recDisplay = new RectangleF(0,0,50,50);
> //the following redraw the view instead of redrawing recDisplay
>  this.SetNeedsDisplayInRect(recDisplay);
>
> }
> }
>
> Thanks
> Art
>
>
>
>
>
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/SetNeedsDisplayInRect-bug-tp4656974.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to