Rect.Inflate Method

 

Creates a rectangle that results from expanding or shrinking a rectangle by the specified amount.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

NameDescription
System_CAPS_pubmethodInflate(Double, Double)

Expands or shrinks the rectangle by using the specified width and height amounts, in all directions.

System_CAPS_pubmethodSystem_CAPS_staticInflate(Rect, Double, Double)

Creates a rectangle that results from expanding or shrinking the specified rectangle by the specified width and height amounts, in all directions.

System_CAPS_pubmethodSystem_CAPS_staticInflate(Rect, Size)

Returns the rectangle that results from expanding the specified rectangle by the specified Size, in all directions.

System_CAPS_pubmethodInflate(Size)

Expands the rectangle by using the specified Size, in all directions.

Return to top
Show: