Share via


Silverlight.EnableRedrawRegions Property

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

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

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Overridable Property EnableRedrawRegions As Boolean
    Get
    Set
'Usage
Dim instance As Silverlight
Dim value As Boolean

value = instance.EnableRedrawRegions

instance.EnableRedrawRegions = value
[BrowsableAttribute(true)]
public virtual bool EnableRedrawRegions { get; set; }

Property Value

Type: System.Boolean
true if the areas of the Silverlight plug-in that are being redrawn are shown; otherwise, false. The default is false.

Remarks

Silverlight content is redrawn in the browser 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.

Examples

MaxFrameRate

Platforms

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

See Also

Reference

Silverlight Class

Silverlight Members

System.Web.UI.SilverlightControls Namespace