DataGridViewTopLeftHeaderCell クラス

定義

行ヘッダーの上、列ヘッダーの左にある DataGridView の左上隅のセルを表します。

public ref class DataGridViewTopLeftHeaderCell : System::Windows::Forms::DataGridViewColumnHeaderCell
public class DataGridViewTopLeftHeaderCell : System.Windows.Forms.DataGridViewColumnHeaderCell
type DataGridViewTopLeftHeaderCell = class
    inherit DataGridViewColumnHeaderCell
Public Class DataGridViewTopLeftHeaderCell
Inherits DataGridViewColumnHeaderCell
継承

注釈

左上のヘッダー セルをクリックすると、 内のすべてのセルが選択されます DataGridView

コンストラクター

DataGridViewTopLeftHeaderCell()

DataGridViewTopLeftHeaderCell クラスの新しいインスタンスを初期化します。

プロパティ

AccessibilityObject

DataGridViewCell.DataGridViewCellAccessibleObject に割り当てられた DataGridViewCell を取得します。

(継承元 DataGridViewCell)
ButtonState

ヘッダー セルのボタン形式のビジュアル状態を取得します。

(継承元 DataGridViewHeaderCell)
ColumnIndex

このセルの列インデックスを取得します。

(継承元 DataGridViewCell)
ContentBounds

セルの内容領域を囲んだ外接する四角形を取得します。

(継承元 DataGridViewCell)
ContextMenuStrip

セルに関連付けられたショートカット メニューを取得または設定します。

(継承元 DataGridViewCell)
DataGridView

この要素に関連付けられている DataGridView コントロールを取得します。

(継承元 DataGridViewElement)
DefaultNewRowValue

新しいレコードの行のセルに対する既定値を取得します。

(継承元 DataGridViewCell)
Displayed

セルが現在画面上に表示されているかどうかを示す値を取得します。

(継承元 DataGridViewHeaderCell)
EditedFormattedValue

セルが編集モードであるかどうか、および値がコミットされているかどうかに関係なく、セルの現在の書式指定済みの値を取得します。

(継承元 DataGridViewCell)
EditType

セルのホストされる編集コントロールの型を取得します。

(継承元 DataGridViewCell)
ErrorIconBounds

セルのエラー アイコンの境界を取得します。

(継承元 DataGridViewCell)
ErrorText

セルに関連付けられたエラー条件を記述するテキストを取得または設定します。

(継承元 DataGridViewCell)
FormattedValue

表示用に書式指定済みのセル値を取得します。

(継承元 DataGridViewCell)
FormattedValueType

セルの書式指定済みの値の型を取得します。

(継承元 DataGridViewHeaderCell)
Frozen

セルが固定された状態かどうかを示す値を取得します。

(継承元 DataGridViewHeaderCell)
HasStyle

Style プロパティが設定されているかどうかを示す値を取得します。

(継承元 DataGridViewCell)
InheritedState

行と列の状態から継承されたセルの現在の状態を取得します。

(継承元 DataGridViewCell)
InheritedStyle

セルに現在適用されているスタイルを取得します。

(継承元 DataGridViewCell)
IsInEditMode

このセルが現在編集されているかどうかを示す値を取得します。

(継承元 DataGridViewCell)
OwningColumn

セルを格納している列を取得します。

(継承元 DataGridViewCell)
OwningRow

セルを格納している行を取得します。

(継承元 DataGridViewCell)
PreferredSize

セルが収まる四角形領域のサイズをピクセル単位で取得します。

(継承元 DataGridViewCell)
ReadOnly

ヘッダー セルが読み取り専用かどうかを示す値を取得します。

(継承元 DataGridViewHeaderCell)
Resizable

セルのサイズを変更できるかどうかを示す値を取得します。

(継承元 DataGridViewHeaderCell)
RowIndex

セルの親行のインデックスを取得します。

(継承元 DataGridViewCell)
Selected

セルが選択されているかどうかを示す値を取得または設定します。

(継承元 DataGridViewHeaderCell)
Size

セルのサイズを取得します。

(継承元 DataGridViewCell)
SortGlyphDirection

表示されている並べ替えグリフを示す値を取得または設定します。

(継承元 DataGridViewColumnHeaderCell)
State

要素のユーザー インターフェイス (UI) の状態を取得します。

(継承元 DataGridViewElement)
Style

セルのスタイルを取得または設定します。

(継承元 DataGridViewCell)
Tag

セルに関する補足的なデータを格納するオブジェクトを取得または設定します。

(継承元 DataGridViewCell)
ToolTipText

このセルに関連付けられているツールヒント テキストを取得または設定します。

(継承元 DataGridViewCell)
Value

このセルに関連付けられている値を取得または設定します。

(継承元 DataGridViewCell)
ValueType

セルに格納されている値の型を取得します。

(継承元 DataGridViewHeaderCell)
Visible

セルを表示するかどうかを示す値を取得します。

(継承元 DataGridViewHeaderCell)

メソッド

AdjustCellBorderStyle(DataGridViewAdvancedBorderStyle, DataGridViewAdvancedBorderStyle, Boolean, Boolean, Boolean, Boolean)

指定した条件に従って、入力セルの境界線スタイルを変更します。

(継承元 DataGridViewCell)
BorderWidths(DataGridViewAdvancedBorderStyle)

すべてのセル マージンの幅を表す Rectangle を返します。

(継承元 DataGridViewCell)
ClickUnsharesRow(DataGridViewCellEventArgs)

セルがクリックされたときに、セルの行の共有を解除するかどうかを示します。

(継承元 DataGridViewCell)
Clone()

対象のセルの同一コピーを作成します。

(継承元 DataGridViewColumnHeaderCell)
ContentClickUnsharesRow(DataGridViewCellEventArgs)

セルの内容がクリックされたときに、セルの行の共有を解除するかどうかを示します。

(継承元 DataGridViewCell)
ContentDoubleClickUnsharesRow(DataGridViewCellEventArgs)

セルの内容がダブルクリックされたときに、セルの行の共有を解除するかどうかを示します。

(継承元 DataGridViewCell)
CreateAccessibilityInstance()

DataGridViewTopLeftHeaderCell の新しいユーザー補助オブジェクトを作成します。

DetachEditingControl()

セルの編集コントロールを DataGridView から削除します。

(継承元 DataGridViewCell)
Dispose()

DataGridViewCell によって使用されているすべてのリソースを解放します。

(継承元 DataGridViewCell)
Dispose(Boolean)

DataGridViewHeaderCell によって使用されているアンマネージド リソースを解放し、オプションでマネージド リソースも解放します。

(継承元 DataGridViewHeaderCell)
DoubleClickUnsharesRow(DataGridViewCellEventArgs)

セルがダブルクリックされたときに、セルの行の共有を解除するかどうかを示します。

(継承元 DataGridViewCell)
EnterUnsharesRow(Int32, Boolean)

フォーカスがセルに移動したときに、親の行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
Equals(Object)

指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetClipboardContent(Int32, Boolean, Boolean, Boolean, Boolean, String)

Clipboard にコピーするセルの書式指定済みの値を取得します。

(継承元 DataGridViewColumnHeaderCell)
GetContentBounds(Graphics, DataGridViewCellStyle, Int32)

セルの内容領域を囲む外接する四角形を返します。これは、指定された Graphics オブジェクトとセル スタイルを使用して計算されます。

GetContentBounds(Int32)

既定の Graphics、およびセルに現在有効なセル スタイルを使用して、セルの内容領域を囲む外接する四角形を返します。

(継承元 DataGridViewCell)
GetEditedFormattedValue(Int32, DataGridViewDataErrorContexts)

セルが編集モードであるかどうか、および値がコミットされているかどうかに関係なく、セルの現在の書式指定済みの値を返します。

(継承元 DataGridViewCell)
GetErrorIconBounds(Graphics, DataGridViewCellStyle, Int32)

セルのエラー アイコンが表示されている場合に、そのエラー アイコンを囲む外接する四角形を返します。

GetErrorText(Int32)

セルのエラーを表す文字列を返します。

(継承元 DataGridViewCell)
GetFormattedValue(Object, Int32, DataGridViewCellStyle, TypeConverter, TypeConverter, DataGridViewDataErrorContexts)

表示用に書式指定済みのセル値を取得します。

(継承元 DataGridViewCell)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetInheritedContextMenuStrip(Int32)

指定した行の継承されたショートカット メニューを取得します。

(継承元 DataGridViewColumnHeaderCell)
GetInheritedState(Int32)

行または列の状態から継承されたセルの現在の状態を示す値を返します。

(継承元 DataGridViewHeaderCell)
GetInheritedStyle(DataGridViewCellStyle, Int32, Boolean)

セルに適用されるスタイルを取得します。

(継承元 DataGridViewColumnHeaderCell)
GetPreferredSize(Graphics, DataGridViewCellStyle, Int32, Size)

セルの推奨されるサイズをピクセル単位で計算します。

GetSize(Int32)

セルのサイズを取得します。

(継承元 DataGridViewHeaderCell)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
GetValue(Int32)

セルの値を取得します。

(継承元 DataGridViewColumnHeaderCell)
InitializeEditingControl(Int32, Object, DataGridViewCellStyle)

セルの編集に使用されるコントロールを初期化します。

(継承元 DataGridViewCell)
KeyDownUnsharesRow(KeyEventArgs, Int32)

セルにフォーカスがある状態でキーを押したときに、親の行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
KeyEntersEditMode(KeyEventArgs)

押されたキーに基づいて編集モードを開始するかどうかを決定します。

(継承元 DataGridViewCell)
KeyPressUnsharesRow(KeyPressEventArgs, Int32)

行内のセルにフォーカスがあるときにキーが押された場合に、行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
KeyUpUnsharesRow(KeyEventArgs, Int32)

セルにフォーカスがある状態でキーを離したときに、親の行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
LeaveUnsharesRow(Int32, Boolean)

フォーカスが行のセルを離れたときに、その行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
MouseClickUnsharesRow(DataGridViewCellMouseEventArgs)

マウス ポインターを行のセルに置いた状態でマウス ボタンをクリックしたときに、その行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
MouseDoubleClickUnsharesRow(DataGridViewCellMouseEventArgs)

行内のセルをダブルクリックした場合に、その行を非共有にするかどうかを示します。

(継承元 DataGridViewCell)
MouseDownUnsharesRow(DataGridViewCellMouseEventArgs)

マウス ポインターを行のセルに置いた状態でマウス ボタンを押したままにしたときに、その行の非共有にするかどうかを示します。

(継承元 DataGridViewHeaderCell)
MouseEnterUnsharesRow(Int32)

マウス ポインターを行のセル上に移動したときに行の共有を解除するかどうかを示します。

(継承元 DataGridViewHeaderCell)
MouseLeaveUnsharesRow(Int32)

マウス ポインターを行から離したときに行の共有を解除するかどうかを示します。

(継承元 DataGridViewHeaderCell)
MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs)

マウス ポインターを行のセル上に移動したときに行の共有を解除するかどうかを示します。

(継承元 DataGridViewCell)
MouseUpUnsharesRow(DataGridViewCellMouseEventArgs)

マウス ポインターを行のセルに置いた状態でマウス ボタンを離したときに、その行の共有を解除するかどうかを示します。

(継承元 DataGridViewHeaderCell)
OnClick(DataGridViewCellEventArgs)

セルがクリックされたときに呼び出されます。

(継承元 DataGridViewCell)
OnContentClick(DataGridViewCellEventArgs)

セルの内容がクリックされたときに呼び出されます。

(継承元 DataGridViewCell)
OnContentDoubleClick(DataGridViewCellEventArgs)

セルの内容がダブルクリックされたときに呼び出されます。

(継承元 DataGridViewCell)
OnDataGridViewChanged()

セルの DataGridView プロパティが変更された場合に発生します。

(継承元 DataGridViewCell)
OnDoubleClick(DataGridViewCellEventArgs)

セルがダブルクリックされたときに呼び出されます。

(継承元 DataGridViewCell)
OnEnter(Int32, Boolean)

フォーカスがセルに移動するときに呼び出されます。

(継承元 DataGridViewCell)
OnKeyDown(KeyEventArgs, Int32)

セルにフォーカスがある状態で文字キーが押されたときに呼び出されます。

(継承元 DataGridViewCell)
OnKeyPress(KeyPressEventArgs, Int32)

セルにフォーカスがある状態でキーが押されたときに呼び出されます。

(継承元 DataGridViewCell)
OnKeyUp(KeyEventArgs, Int32)

セルにフォーカスがある状態で文字キーを離したときに呼び出されます。

(継承元 DataGridViewCell)
OnLeave(Int32, Boolean)

フォーカスがセルから離れるときに呼び出されます。

(継承元 DataGridViewCell)
OnMouseClick(DataGridViewCellMouseEventArgs)

マウス ポインターがセル上にあるときにマウス ボタンをクリックすると呼び出されます。

(継承元 DataGridViewCell)
OnMouseDoubleClick(DataGridViewCellMouseEventArgs)

マウス ポインターがセル上にあるときにマウス ボタンをダブルクリックすると呼び出されます。

(継承元 DataGridViewCell)
OnMouseDown(DataGridViewCellMouseEventArgs)

マウス ポインターをセルに置いた状態でマウス ボタンを押し下げたときに呼び出されます。

(継承元 DataGridViewHeaderCell)
OnMouseEnter(Int32)

マウス ポインターがセルに入ると呼び出されます。

(継承元 DataGridViewHeaderCell)
OnMouseLeave(Int32)

マウス ポインターをセルから離すと呼び出されます。

(継承元 DataGridViewHeaderCell)
OnMouseMove(DataGridViewCellMouseEventArgs)

マウス ポインターがセル内で移動すると呼び出されます。

(継承元 DataGridViewCell)
OnMouseUp(DataGridViewCellMouseEventArgs)

マウス ポインターをセルに置いた状態でマウス ボタンを離したときに呼び出されます。

(継承元 DataGridViewHeaderCell)
Paint(Graphics, Rectangle, Rectangle, Int32, DataGridViewElementStates, Object, Object, String, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle, DataGridViewPaintParts)

現在の DataGridViewTopLeftHeaderCell を描画します。

PaintBorder(Graphics, Rectangle, Rectangle, DataGridViewCellStyle, DataGridViewAdvancedBorderStyle)

現在の DataGridViewCell の境界線を描画します。

PaintErrorIcon(Graphics, Rectangle, Rectangle, String)

現在の DataGridViewCell のエラー アイコンを描画します。

(継承元 DataGridViewCell)
ParseFormattedValue(Object, DataGridViewCellStyle, TypeConverter, TypeConverter)

表示用に書式設定された値を、実際のセル値に変換します。

(継承元 DataGridViewCell)
PositionEditingControl(Boolean, Boolean, Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean)

DataGridView コントロールのセルによってホストされる編集コントロールの位置とサイズを設定します。

(継承元 DataGridViewCell)
PositionEditingPanel(Rectangle, Rectangle, DataGridViewCellStyle, Boolean, Boolean, Boolean, Boolean)

セルによってホストされる編集パネルの位置とサイズを設定し、編集パネル内の編集コントロールの標準の境界を返します。

(継承元 DataGridViewCell)
RaiseCellClick(DataGridViewCellEventArgs)

CellClick イベントを発生させます。

(継承元 DataGridViewElement)
RaiseCellContentClick(DataGridViewCellEventArgs)

CellContentClick イベントを発生させます。

(継承元 DataGridViewElement)
RaiseCellContentDoubleClick(DataGridViewCellEventArgs)

CellContentDoubleClick イベントを発生させます。

(継承元 DataGridViewElement)
RaiseCellValueChanged(DataGridViewCellEventArgs)

CellValueChanged イベントを発生させます。

(継承元 DataGridViewElement)
RaiseDataError(DataGridViewDataErrorEventArgs)

DataError イベントを発生させます。

(継承元 DataGridViewElement)
RaiseMouseWheel(MouseEventArgs)

MouseWheel イベントを発生させます。

(継承元 DataGridViewElement)
SetValue(Int32, Object)

セルの値を設定します。

(継承元 DataGridViewColumnHeaderCell)
ToString()

セルの文字列形式を返します。

適用対象

こちらもご覧ください