EvalTransparentPaint() public method

Perform a layout of the view.
public EvalTransparentPaint ( IRenderer renderer ) : bool
renderer IRenderer Renderer provider.
return bool
Beispiel #1
0
 /// <summary>
 /// Work out if this control needs to paint transparent areas.
 /// </summary>
 /// <returns>True if paint required; otherwise false.</returns>
 protected virtual bool EvalTransparentPaint()
 {
     // Do we have a manager to use for asking about painting?
     if (ViewManager != null)
     {
         // Ask the view if it needs to paint transparent areas
         return(ViewManager.EvalTransparentPaint(_renderer));
     }
     else
     {
         // If there is no view then do not transparent paint
         return(false);
     }
 }