Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Silverlight
General Reference
 EnableRedrawRegions
Collapse All/Expand All Collapse All
Silverlight
EnableRedrawRegions (Silverlight Plug-in Object)

Gets or sets a value that determines whether to visually indicate the areas of the plug-in that are being redrawn with each frame. This property is for performance tuning and visualization during development only; do not specify it for any deployed Silverlight-based application.

object Element

<object ...>
  <param name="enableRedrawRegions" value="true"/>
  ...
</object>

Silverlight.js

Not applicable.

JavaScript

silverlightObject.settings.EnableRedrawRegions = bool;
value = silverlightObject.settings.EnableRedrawRegions;

COM

IXcpControl::Settings gets an IDispatch interface, which you can use to call EnableRedrawRegions.

Managed Code

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

The EnableRedrawRegions property is used during development to tune the performance of your application by showing the areas of the plug-in that are being redrawn with each frame. Although it is possible to set this particular property in the object tag, typically you set the various performance tuning / visualization properties by using an event handler, because some of the other properties are not settable in the object tag. If you are using JavaScript, you typically do this in an OnLoad handler for the DOM Loaded event. If you are using managed code, you typically do this in a handler for the Loaded event on the visual root of your content.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
EnableRedrawRegions available with Object element      LaurentDuveau   |   Edit   |   Show History
The document mention "not applicable for object Element" but it is not true as you can set this with a param of the object tag:

<

paramname="enableRedrawRegions"value="true"/>


Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker