ViewPort.Rectangle Property
Gets or sets the rectangle representing the bounding box for the view port.
Syntax
public System.Drawing.Rectangle Rectangle {get; set;}
Property Value
System.Drawing.Rectangle. A rectangle that indicates the size and location of the view port.
This property is read/write.
Note Trying to write this value for the shared Now Playing view port results in an InvalidOperationException.
Requirements
Reference: Microsoft.MediaCenter
Namespace: Microsoft.MediaCenter.Hosting
Assembly: Microsoft.MediaCenter.dll
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also