Viewport 3D

The Viewport 3D panel is a WPF control that provides a rendering surface for three-dimensional visual content while providing properties consistent with two-dimensional layouts, such as clipping, height and width, and mouse events.

When the Viewport 3D control is included as the content of a layout element, such as Canvas, you must specify the size of the Viewport 3D by setting its Height and Width properties.

See Grids and Panels to view the usage and description of the properties for this control.