NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control.SetBoundsCore

Performs the work of setting the bounds of this control. Inheriting classes can overide this function to add size restrictions. Inheriting classes must call base.setBoundsCore to actually cause the bounds of the control to change.

[Visual Basic]
Overridable Protected Sub SetBoundsCore( _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal specified As BoundsSpecified _
)
[C#]
protected virtual void SetBoundsCore(
   int x,
   int y,
   int width,
   int height,
   BoundsSpecified specified
);
[C++]
protected: virtual void SetBoundsCore(
   int x,
   int y,
   int width,
   int height,
   BoundsSpecified specified
);
[JScript]
protected function SetBoundsCore(
   x : int,
   y : int,
   width : int,
   height : int,
   specified : BoundsSpecified
);

Parameters

x
new left of the control.
y
new right of the control.
width
new width of the control.
height
new height of the control.
specified
Which values were specified. This parameter is meant to reflect user intent, not indicate which values have changed.

See Also

Control Class | Control Members | System.WinForms Namespace