Share via


OffscreenCompositionMode.PreferredDepthStencilFormat Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the format of the depth stencil.

Namespace:  System.Windows.Graphics
Assembly:  System.Windows.Xna (in System.Windows.Xna.dll)

Syntax

'Declaration
Public Property PreferredDepthStencilFormat As DepthFormat
public DepthFormat PreferredDepthStencilFormat { get; set; }

Property Value

Type: Microsoft.Xna.Framework.Graphics.DepthFormat
The format of the depth stencil.

Remarks

Dependency property identifier field: PreferredDepthStencilFormatProperty

Version Information

Silverlight

Supported in: 5

Platforms

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