Rectangle.Inflate Method
Increases the size of the Rectangle structure by the specified X and Y values.
Syntax
public static Rectangle Inflate(
Rectangle
rectangle
,
int x,
int y
);
Parameters
rectangle
Microsoft.MediaCenter.UI.Rectangle. The Rectangle structure to increase.
x
System.Int32. The X value.
y
System.Int32. The Y value.
Remarks
If either x or y is negative, the Rectangle structure is deflated in the corresponding direction.
Return Value
Microsoft.MediaCenter.UI.Rectangle. The resulting Rectangle structure.
Requirements
Reference: Microsoft.MediaCenter.UI
Namespace: Microsoft.MediaCenter.UI
Assembly: Microsoft.MediaCenter.UI.dll
Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later
See Also