Share via


ViewPort Class

Provides a way to control and retrieve information about the shared Now Playing view port, or the custom video view port.

Syntax

public sealed class ViewPort

Public Instance Methods

Method Description
Focus Requests that Windows Media Center place the focus on the view port.

Public Instance Properties

Property Description
BorderColor Gets or sets the color of the view port border.
FocusBorderColor Gets or sets the color of the view port border when it is in focus.
Rectangle Gets or sets the rectangle representing the bounding box for the view port.
Visible Gets a value that indicates whether the view port is hidden or visible.

See Also