Table of Contents

Method SetBounds

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetBounds(RectD, BoundsSpecified)

Sets the specified bounds of the control to new location and size.

public virtual void SetBounds(RectD newBounds, BoundsSpecified specified)

Parameters

newBounds RectD

New location and size.

specified BoundsSpecified

Specifies which bounds to use when applying new location and size.

SetBounds(float, float, float, float, BoundsSpecified)

Sets the specified bounds of the control to new location and size.

public virtual void SetBounds(float x, float y, float width, float height, BoundsSpecified specified)

Parameters

x float

The new Left property value of the control.

y float

The new Top property value of the control.

width float

The new Width property value of the control.

height float

The new Height property value of the control.

specified BoundsSpecified

Specifies which bounds to use when applying new location and size.