LinkLabel.SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
このコントロールの境界を設定する作業を実行します。
protected:
override void SetBoundsCore(int x, int y, int width, int height, System::Windows::Forms::BoundsSpecified specified);
protected override void SetBoundsCore(int x, int y, int width, int height, System.Windows.Forms.BoundsSpecified specified);
override this.SetBoundsCore : int * int * int * int * System.Windows.Forms.BoundsSpecified -> unit
Protected Overrides Sub SetBoundsCore (x As Integer, y As Integer, width As Integer, height As Integer, specified As BoundsSpecified)
パラメーター
- x
- Int32
コントロールの新しい左側。
- y
- Int32
コントロールの新しい権限。
- width
- Int32
コントロールの新しい幅。
- height
- Int32
コントロールの新しい高さ。
- specified
- BoundsSpecified
指定された値。 このパラメーターには、変更された値ではなく、ユーザーの意図が反映されます。
注釈
クラスを継承すると、この関数をオーバーライドしてサイズ制限を追加できます。 クラスを継承するには、コントロールの境界を実際に変更するには、 base.setBoundsCore を呼び出す必要があります。