DataGridViewRowPostPaintEventArgs コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
DataGridViewRowPostPaintEventArgs クラスの新しいインスタンスを初期化します。
public:
DataGridViewRowPostPaintEventArgs(System::Windows::Forms::DataGridView ^ dataGridView, System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle clipBounds, System::Drawing::Rectangle rowBounds, int rowIndex, System::Windows::Forms::DataGridViewElementStates rowState, System::String ^ errorText, System::Windows::Forms::DataGridViewCellStyle ^ inheritedRowStyle, bool isFirstDisplayedRow, bool isLastVisibleRow);
public DataGridViewRowPostPaintEventArgs (System.Windows.Forms.DataGridView dataGridView, System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle rowBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates rowState, string errorText, System.Windows.Forms.DataGridViewCellStyle inheritedRowStyle, bool isFirstDisplayedRow, bool isLastVisibleRow);
public DataGridViewRowPostPaintEventArgs (System.Windows.Forms.DataGridView dataGridView, System.Drawing.Graphics graphics, System.Drawing.Rectangle clipBounds, System.Drawing.Rectangle rowBounds, int rowIndex, System.Windows.Forms.DataGridViewElementStates rowState, string? errorText, System.Windows.Forms.DataGridViewCellStyle inheritedRowStyle, bool isFirstDisplayedRow, bool isLastVisibleRow);
new System.Windows.Forms.DataGridViewRowPostPaintEventArgs : System.Windows.Forms.DataGridView * System.Drawing.Graphics * System.Drawing.Rectangle * System.Drawing.Rectangle * int * System.Windows.Forms.DataGridViewElementStates * string * System.Windows.Forms.DataGridViewCellStyle * bool * bool -> System.Windows.Forms.DataGridViewRowPostPaintEventArgs
Public Sub New (dataGridView As DataGridView, graphics As Graphics, clipBounds As Rectangle, rowBounds As Rectangle, rowIndex As Integer, rowState As DataGridViewElementStates, errorText As String, inheritedRowStyle As DataGridViewCellStyle, isFirstDisplayedRow As Boolean, isLastVisibleRow As Boolean)
パラメーター
- dataGridView
- DataGridView
描画される行を所有する DataGridView。
- graphics
- Graphics
DataGridViewRow の描画に使用する Graphics。
- clipBounds
- Rectangle
描画が必要な DataGridView の領域を表す Rectangle。
- rowBounds
- Rectangle
描画される DataGridViewRow の境界が格納された Rectangle。
- rowIndex
- Int32
描画されるセルの行インデックス。
- rowState
- DataGridViewElementStates
行の状態を指定する DataGridViewElementStates 値のビットごとの組み合わせ。
- errorText
- String
行に関連付けられたエラー メッセージ。
- inheritedRowStyle
- DataGridViewCellStyle
行に関する書式とスタイルの情報が格納された DataGridViewCellStyle。
- isFirstDisplayedRow
- Boolean
現在の行が、現在 DataGridView に表示されている最初の行かどうかを示す場合は true
。それ以外の場合は false
。
- isLastVisibleRow
- Boolean
現在の行が、DataGridView プロパティが true
に設定された、Visible の最後の行かどうかを示す場合は true
。それ以外の場合は false
。
例外
適用対象
こちらもご覧ください
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET