VScrollBar クラスとは? わかりやすく解説

VScrollBar クラス

標準Windows 垂直スクロール バー表します

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

<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
Public Class VScrollBar
    Inherits ScrollBar
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)] 
public class VScrollBar : ScrollBar
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)] 
public ref class VScrollBar : public
 ScrollBar
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) */ 
public class VScrollBar extends ScrollBar
ComVisibleAttribute(true) 
ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) 
public class VScrollBar extends
 ScrollBar
解説解説
使用例使用例

VScrollBar作成および初期化しForm追加する例を次に示します

Private Sub InitializeMyScrollBar()
    ' Create and initialize a VScrollBar.
    Dim vScrollBar1 As New
 VScrollBar()
    
    ' Dock the scroll bar to the right side of the form.
    vScrollBar1.Dock = DockStyle.Right
    
    ' Add the scroll bar to the form.
    Controls.Add(vScrollBar1)
End Sub

private void InitializeMyScrollBar()
 {
    // Create and initialize a VScrollBar.
    VScrollBar vScrollBar1 = new VScrollBar();
    
    // Dock the scroll bar to the right side of the form.
    vScrollBar1.Dock = DockStyle.Right;
    
    // Add the scroll bar to the form.
    Controls.Add(vScrollBar1);
 }
 
private:
   void InitializeMyScrollBar()
   {
      // Create and initialize a VScrollBar.
      VScrollBar^ vScrollBar1 = gcnew VScrollBar;
      
      // Dock the scroll bar to the right side of the form.
      vScrollBar1->Dock = DockStyle::Right;
      
      // Add the scroll bar to the form.
      Controls->Add( vScrollBar1 );
   }
private void InitializeMyScrollBar()
{
    // Create and initialize a VScrollBar.
    VScrollBar vScrollBar1 = new VScrollBar();

    // Dock the scroll bar to the right side of the form.
    vScrollBar1.set_Dock(DockStyle.Right);

    // Add the scroll bar to the form.
    get_Controls().Add(vScrollBar1);
} //InitializeMyScrollBar
継承階層継承階層
System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Windows.Forms.Control
         System.Windows.Forms.ScrollBar
          System.Windows.Forms.VScrollBar
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「VScrollBar クラス」の関連用語

VScrollBar クラスのお隣キーワード
検索ランキング

   

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



VScrollBar クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS