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

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

ScrollableControl.SetDisplayRectLocation メソッド

表示ウィンドウを指定した値に配置します。

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

Protected Sub SetDisplayRectLocation ( _
    x As Integer, _
    y As Integer _
)
Dim x As Integer
Dim y As Integer

Me.SetDisplayRectLocation(x, y)
protected void SetDisplayRectLocation (
    int x,
    int y
)
protected:
void SetDisplayRectLocation (
    int x, 
    int y
)
protected void SetDisplayRectLocation (
    int x, 
    int y
)
protected function SetDisplayRectLocation (
    x : int, 
    y : int
)

パラメータ

x

ScrollableControl を配置する位置の水平方向のオフセット。

y

ScrollableControl を配置する位置の垂直方向のオフセット。

解説解説

AutoScroll プロパティが true に設定されている場合、DisplayRectangle プロパティは ScrollableControl コントロールの表示されるクライアント領域の仮想サイズと位置を表します。SetDisplayRectLocation メソッドを呼び出すと、ScrollableControl 内の指定した位置へスクロールします。

呼び出し時の注意 SetDisplayRectLocation は、スクロール バーの位置を更新しません。スクロール バーを更新するには、AdjustFormScrollbars メソッドを呼び出します。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ScrollableControl クラス
ScrollableControl メンバ
System.Windows.Forms 名前空間
DisplayRectangle
ScrollControlIntoView
Scroll


このページでは「.NET Framework クラス ライブラリ リファレンス」からScrollableControl.SetDisplayRectLocation メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からScrollableControl.SetDisplayRectLocation メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からScrollableControl.SetDisplayRectLocation メソッド を検索

英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

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

   

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



ScrollableControl.SetDisplayRectLocation メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS