DataGrid.RowHeaderWidth プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Dim instance As DataGrid Dim value As Integer value = instance.RowHeaderWidth instance.RowHeaderWidth = value
/** @property */ public int get_RowHeaderWidth () /** @property */ public void set_RowHeaderWidth (int value)
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

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からDataGrid.RowHeaderWidth プロパティを検索する場合は、下記のリンクをクリックしてください。

- DataGrid.RowHeaderWidth プロパティのページへのリンク