TextBoxBase.SetBoundsCore メソッド
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Protected Overrides Sub SetBoundsCore ( _ x As Integer, _ y As Integer, _ width As Integer, _ height As Integer, _ specified As BoundsSpecified _ )
Dim x As Integer Dim y As Integer Dim width As Integer Dim height As Integer Dim specified As BoundsSpecified Me.SetBoundsCore(x, y, width, height, specified)
protected override void SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified )
protected: virtual void SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) override
protected override function SetBoundsCore ( x : int, y : int, width : int, height : int, specified : BoundsSpecified )

TextBoxBase コントロールは、AutoSize プロパティが true で、かつ Multiline プロパティが false の場合、PreferredHeight プロパティを使用して境界を設定します。
通常、specified パラメータに含まれない境界に対応するパラメータは、現在の値で渡されます。たとえば、Location プロパティの Height または Width、あるいは X または Y の各プロパティは、コントロールの現在のインスタンスに参照渡しできます。ただし、渡されたすべての値は有効で、コントロールに適用されます。
specified パラメータは、アプリケーションによって変更された Bounds コントロールの要素を表します。たとえば、コントロールの Size を変更した場合、specified パラメータ値は BoundsSpecified の Size 値になります。ただし、設定される Dock プロパティに応じて Size が調整される場合、specified パラメータの値は BoundsSpecified の None 値になります。
継承時の注意 派生クラスで SetBoundsCore をオーバーライドする場合は、基本クラスの SetBoundsCore メソッドを呼び出して、強制的にコントロールの境界を変更してください。派生クラスでは、SetBoundsCore メソッドにサイズの制限を追加できます。
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からTextBoxBase.SetBoundsCore メソッドを検索する場合は、下記のリンクをクリックしてください。

- TextBoxBase.SetBoundsCore メソッドのページへのリンク