ParentControlDesigner.GetUpdatedRect メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ParentControlDesigner.GetUpdatedRect メソッドの意味・解説 

ParentControlDesigner.GetUpdatedRect メソッド

グリッド配置モードが有効な場合は、指定した四角形の位置をグリッドの配置に合わせて更新します。

名前空間: System.Windows.Forms.Design
アセンブリ: System.Design (system.design.dll 内)
構文構文

Protected Function GetUpdatedRect ( _
    originalRect As Rectangle, _
    dragRect As Rectangle, _
    updateSize As Boolean _
) As Rectangle
Dim originalRect As Rectangle
Dim dragRect As Rectangle
Dim updateSize As Boolean
Dim returnValue As Rectangle

returnValue = Me.GetUpdatedRect(originalRect, dragRect, updateSize)
protected Rectangle GetUpdatedRect (
    Rectangle originalRect,
    Rectangle dragRect,
    bool updateSize
)
protected:
Rectangle GetUpdatedRect (
    Rectangle originalRect, 
    Rectangle dragRect, 
    bool updateSize
)
protected Rectangle GetUpdatedRect (
    Rectangle originalRect, 
    Rectangle dragRect, 
    boolean updateSize
)
protected function GetUpdatedRect (
    originalRect : Rectangle, 
    dragRect : Rectangle, 
    updateSize : boolean
) : Rectangle

パラメータ

originalRect

更新されるコンポーネントの初期位置を示す Rectangle。

dragRect

コンポーネントの新しい位置を示す Rectangle。

updateSize

変更があった場合は、四角形のサイズを更新する true。それ以外の場合は false。

戻り値
デザイン時ビューの画面座標の、コンポーネントの位置を示す四角形。変更がなかった場合、このメソッドは元の四角形を返します。

解説解説
.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ParentControlDesigner クラス
ParentControlDesigner メンバ
System.Windows.Forms.Design 名前空間
ControlDesigner クラス
ComponentDesigner
IDesigner
IDesignerFilter
DesignerAttribute
その他の技術情報
デザイン時サポートの拡張



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

ParentControlDesigner.GetUpdatedRect メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ParentControlDesigner.GetUpdatedRect メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS