This documentation is archived and is not being maintained.

RenderCapability.Tier Property

Gets a value that indicates the rendering tier for the current thread.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public static int Tier { get; }
You cannot set this property in XAML.

Property Value

Type: System.Int32
An Int32 value whose high-order word corresponds to the rendering tier for the current thread.

The return value is one of three possible values:

Return value

Rendering tier




No graphics hardware acceleration available for the application on the device.



Partial graphics hardware acceleration available on the video card. This corresponds to a DirectX version that is greater than or equal to 7.0 and less than 9.0.



A rendering tier value of 2 means that most of the graphics features of WPF should use hardware acceleration provided the necessary system resources have not been exhausted. This corresponds to a DirectX version that is greater than or equal to 9.0.

For more information on the definitions for the rendering tiers, see Graphics Rendering Tiers.

If the current thread does not have an associated Dispatcher object, one is automatically created.

The following example shows how to return the rendering tier for the current thread.

// The rendering tier corresponds to the high-order word of the Tier property. 
int renderingTier = (RenderCapability.Tier >> 16);

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0