SilverlightPlugin.MaxFrameRate Property

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

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

public virtual int MaxFrameRate { get; set; }

Property Value

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

ExceptionCondition
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.

Show: