DataGrid.RowHeaderWidth プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataGrid.RowHeaderWidth プロパティの意味・解説 

DataGrid.RowHeaderWidth プロパティ

ヘッダーの幅を取得または設定します

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

Dim instance As DataGrid
Dim value As Integer

value = instance.RowHeaderWidth

instance.RowHeaderWidth = value
public int RowHeaderWidth { get;
 set; }
public:
property int RowHeaderWidth {
    int get ();
    void set (int value);
}
/** @property */
public int get_RowHeaderWidth ()

/** @property */
public void set_RowHeaderWidth (int
 value)
public function get RowHeaderWidth
 () : int

public function set RowHeaderWidth
 (value : int)

プロパティ
System.Windows.Forms.DataGrid の行ヘッダーの幅。既定値35 です。

使用例使用例
' Get the width of row header.
Private Sub button9_Click(ByVal
 sender As Object, ByVal
 e As EventArgs) Handles button9.Click
    Dim myRowHeaderWidth As Int32 = myDataGrid.RowHeaderWidth
    MessageBox.Show("Width of row headers is: " +
 myRowHeaderWidth.ToString(), "Message", MessageBoxButtons.OK,
         MessageBoxIcon.Exclamation)
End Sub 'button9_Click
// Get the width of row header.
private void button9_Click(object sender, EventArgs
 e)
{
   Int32 myRowHeaderWidth = myDataGrid.RowHeaderWidth;
   MessageBox.Show("Width of row headers is: "+ 
            myRowHeaderWidth.ToString(), "Message",
            MessageBoxButtons.OK,MessageBoxIcon.Exclamation);
}      
   // Get the width of row header.
private:
   void button9_Click( Object^ /*sender*/, EventArgs^ /*e*/ )
   {
      Int32 myRowHeaderWidth = myDataGrid->RowHeaderWidth;
      MessageBox::Show( String::Concat( "Width of row headers is: ", myRowHeaderWidth
 ), "Message", MessageBoxButtons::OK, MessageBoxIcon::Exclamation );
   }
// Get the width of row header.
private void button9_Click(Object sender, EventArgs
 e)
{
    Int32 myRowHeaderWidth = (Int32)myDataGrid.get_RowHeaderWidth();
    MessageBox.Show("Width of row headers is: " 
        + myRowHeaderWidth.ToString(), "Message", 
        MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
} //button9_Click
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

DataGrid.RowHeaderWidth プロパティのお隣キーワード
検索ランキング

   

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



DataGrid.RowHeaderWidth プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS