Windows Dev Center

Settings.MaxFrameRate Property

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

Namespace:  System.Windows.Interop
Assembly:  System.Windows (in System.Windows.dll)

public int MaxFrameRate { get; set; }

Property Value

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

The actual frame rate that the UI renders depends on system load performance.

Note that there is a mismatch in naming between the parameter in createObject/createObjectEx and the runtime property. The instantiation parameter is named framerate, this runtime property is named MaxFrameRate, but these are both referring to the same value.

You can display a frame rate counter for diagnostic purposes. For more information, see EnableFrameRateCounter.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft