Sdílet prostřednictvím


Projection

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

Gets or sets the perspective projection (3-D effect) to apply when rendering this object.

<object ...>
  <object.Projection>
    singleProjection
  </object.Projection>
</object>
value = object.Projection
object.Projection = value

XAML Values

Value

Description

singleProjection

Exactly one object element that represents a projection. This can be either a PlaneProjection or Matrix3DProjection.

Property Value

Type: Projection

Describes the specifics of the desired projection.

This property is read/write. The default value is null.

Managed Equivalent

Projection

Remarks

For information about the Projection object, see Projections in the JavaScript API.

Applies To

Border (Silverlight 2)

Canvas

Ellipse

Glyphs

Image

InkPresenter

Line

MediaElement

PasswordBox (Silverlight 2)

Path

Polygon

Polyline

Popup (Silverlight 2)

Rectangle

StackPanel (Silverlight 2)

TextBlock

TextBox (Silverlight 2)

Version Information

Silverlight 3