Compartir a través de


EnableRedrawRegions

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

value = silverlightObject.settings.EnableRedrawRegions
silverlightObject.settings.EnableRedrawRegions= value

Property Value

Type: Boolean

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

This property is read/write. The default value is false.

Managed Equivalent

EnableRedrawRegions

Remarks

This property is available on the settings subobject of a Silverlight plug-in instance.

The EnableRedrawRegions property is used during development to performance-tune your application by showing the areas of the plug-in that are being redrawn with each frame. You cannot set this property during initialization. Typically you would turn this property on and off by using an event handler, such as OnLoad.

Applies To

Silverlight Plug-in