Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MaxFrameRate (Silverlight Plug-in Object)

Silverlight

Gets or sets the maximum number of frames that Silverlight can render per second.

object Element

<object ...>
  <param name="maxframerate" value="int"/>
  ...
</object>

Silverlight.js

Silverlight.CreateObject(,,,{maxFrameRate:'int'});
-or-
Silverlight.CreateObjectEx({properties:{maxFrameRate:'int'}});

JavaScript

int = silverlightObject.settings.MaxFrameRate;
silverlightObject.settings.MaxFrameRate = int;

COM

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

Managed Code

An integer value that specifies the maximum number of frames to render per second. The default value is 60.

This property specifies the effective maximum frame rate for your application at run time. The actual frame rate that Silverlight content renders depends on system load performance and other factors.

Note that there is a mismatch in naming between the parameter in Silverlight.js functions and the other access models. The Silverlight.js parameter is named framerate, but the object element parameter and other properties are named MaxFrameRate. Both names refer to the same underlying property.

You can see the MaxFrameRate value by enabling a performance-tuning option that displays frames per second for Silverlight rendering. For more information, see EnableFramerateCounter (Silverlight Plug-in Object).

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.