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

Reply via email to