GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > EditBase Class : SetBoundsCore Method |
'Declaration Protected Overrides Sub SetBoundsCore( _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal specified As BoundsSpecified _ )
The specified parameter represents the elements of the controls System.Windows.Forms.Control.Bounds changed by your application. For example, if you change the System.Drawing.Size of the control, the specified parameter value is the Size value of System.Windows.Forms.BoundsSpecified; however, if the Size is adjusted in response to the System.Windows.Forms.Control.Dock property being set, the specified parameter value is the None value of BoundsSpecified.
Notes to Inheritors:
When overriding SetBoundsCore in a derived class, be sure to call the base class's SetBoundsCore method to force the boundary of the control to change. Derived classes can add size restrictions to the SetBoundsCore method.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8