This topic has not yet been rated - Rate this topic

Silverlight.MaxFrameRate Property

Gets or sets the maximum number of frames to render per second for the Silverlight document.

Namespace:  System.Web.UI.SilverlightControls
Assembly:  System.Web.Silverlight (in System.Web.Silverlight.dll)
[BrowsableAttribute(true)]
public virtual int MaxFrameRate { get; set; }

Property Value

Type: System.Int32
The maximum number of frames to render per second.
Exception Condition
ArgumentOutOfRangeException

The MaxFrameRate property is set to a value that is less than 0.

The default value is 0, which indicates that no maximum frame rate is specified.

The frames per second setting is the smaller of these two numbers:

  • the current frames per second being displayed in the browser

  • the MaxFrameRate

The number of frames per second for the current rendered Silverlight content affects video playback, storyboard animations, and other settings. You can use the frame rate information to identify performance bottlenecks in your Silverlight application.

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Wrong default?
This document states that the default value is zero, but if you set it to zero explicitly then the behaviour is nothing like the default behaviour -- rather, Silverlight does a constant 1fps. What is the real default value?