Share via


SilverlightPlugin.EnableRedrawRegions Property

Gets or sets a value that determines whether to show the areas of the plug-in that are being redrawn with each frame.

Namespace:  System.Web.UI.SilverlightControls
Assembly:  System.Web.Silverlight (in System.Web.Silverlight.dll)

Syntax

'Declaration
Public Overridable Property EnableRedrawRegions As Boolean
    Get
    Set
'Usage
Dim instance As SilverlightPlugin
Dim value As Boolean

value = instance.EnableRedrawRegions

instance.EnableRedrawRegions = value
public virtual bool EnableRedrawRegions { get; set; }

Property Value

Type: System.Boolean
true if the areas of the plug-in that are being redrawn with each frame will be displayed; otherwise, false.

Remarks

Silverlight content is redrawn in the browser by using a frame rate that can be set to a maximum value using the MaxFrameRate property.

The EnableRedrawRegions property is used during development for performance-tuning your application by displaying the areas of the plug-in that are being redrawn each frame.

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

SilverlightPlugin Class

SilverlightPlugin Members

System.Web.UI.SilverlightControls Namespace