DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject クラス
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)


Windows フォームには、ユーザー補助サポートが組み込まれており、ユーザー補助クライアント アプリケーションとアプリケーションを連携させることができます。ユーザー補助クライアント アプリケーションの例には、画面拡大ユーティリティ、レビューア ユーティリティ、音声入力ユーティリティ、オンスクリーン キーボード、代替入力デバイス、およびキーボード拡張ユーティリティがあります。
DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject クラスは、AccessibleObject クラスを継承することにより、DataGridViewButtonCell に関する情報をユーザー補助クライアント アプリケーションに提供します。DataGridViewColumnHeaderCell、DataGridViewRowHeaderCell、DataGridViewRow、DataGridViewCell など、DataGridView のビジュアル部分を表す各クラスにも、AccessibleObject を継承するクラスがあり、これらのクラスに関する情報を提供し、ユーザー補助クライアント アプリケーションの代わりにアクションを実行します。
ユーザー補助クライアント アプリケーションに対して、DataGridView コントロールの名前や説明など、追加情報を提供する必要が生じる場合があります。この追加情報を提供するには 2 つの方法があります。既存のコントロールに関する限定的なユーザー補助情報を提供するには、コントロールの AccessibleName プロパティと AccessibleDescription プロパティの値を設定します。これらの値はユーザー補助クライアント アプリケーションに報告されます。
![]() |
---|
AccessibleDefaultActionDescription プロパティと AccessibleRole プロパティの値を変更する必要が生じるのは、DataGridView をリストのような外観にするなど、まれなケースです。 |
追加のユーザー補助情報または異なるユーザー補助アクションを、カスタムの DataGridView または DataGridViewCell に含めることが必要になる場合もあります。ユーザー補助情報をカスタマイズするには、DataGridView.DataGridViewAccessibleObject クラスまたは DataGridViewCell.DataGridViewCellAccessibleObject クラスから派生する独自のクラスを作成して、CreateAccessibilityInstance メソッドをオーバーライドします。たとえば、セル内の特殊なヒット テストなど、独自のカスタム アクションを実装するカスタムの行ヘッダー セルを記述する場合は、DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject クラスから継承するクラスを作成し、CreateAccessibilityInstance メソッドをオーバーライドする必要があります。
DataGridView は、データ テーブル階層を定義する AccessibleRole 値を使用してデータ構造を公開します。Microsoft Active Accessibility にデータ テーブルを公開する方法の詳細については、MSDN Library (http://msdn.microsoft.com/library/) の「Exposing Data Tables through Microsoft Active Accessibility」を参照してください。

System.MarshalByRefObject
System.Runtime.InteropServices.StandardOleMarshalObject
System.Windows.Forms.AccessibleObject
System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject
System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject メンバ
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewButtonCell クラス
AccessibleObject クラス
DataGridViewColumnHeaderCell
DataGridViewRowHeaderCell
DataGridViewRow
DataGridViewCell
Control.AccessibleName プロパティ
Control.AccessibleDescription プロパティ
Control.AccessibleDefaultActionDescription プロパティ
Control.AccessibleRole プロパティ
Control.CreateAccessibilityInstance
DataGridView.DataGridViewAccessibleObject クラス
DataGridViewCell.DataGridViewCellAccessibleObject
DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject
DataGridViewRowHeaderCell.CreateAccessibilityInstance
AccessibleRole 列挙体
DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject コンストラクタ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject プロパティ

名前 | 説明 | |
---|---|---|
![]() | Bounds | ユーザー補助オブジェクトの位置とサイズを取得します。 ( DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | DefaultAction | オーバーライドされます。 DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject の既定のアクションを表す System.String を取得します。 |
![]() | Description | 指定したオブジェクトの外観を説明する文字列を取得します。説明が用意されていないオブジェクトもあります。 ( AccessibleObject から継承されます。) |
![]() | Help | 所有しているセルの型の名前および基本型の名前を取得します。 ( DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | KeyboardShortcut | ユーザー補助オブジェクトのショートカット キーまたはアクセス キーを取得します。 ( AccessibleObject から継承されます。) |
![]() | Name | DataGridViewCell.DataGridViewCellAccessibleObject の名前を取得します。 ( DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | Owner | DataGridViewCell.DataGridViewCellAccessibleObject を所有しているセルを取得または設定します。 ( DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | Parent | DataGridViewCell.DataGridViewCellAccessibleObject の親を取得します。 ( DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | Role | DataGridViewCell.DataGridViewCellAccessibleObject の役割を取得します。 ( DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | State | DataGridViewCell.DataGridViewCellAccessibleObject の状態を取得します。 ( DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | Value | 所有しているセルの書式指定済みの値を表す文字列を取得または設定します。 ( DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |

関連項目
DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject クラスSystem.Windows.Forms 名前空間
DataGridView クラス
DataGridViewButtonCell クラス
AccessibleObject クラス
DataGridViewColumnHeaderCell
DataGridViewRowHeaderCell
DataGridViewRow
DataGridViewCell
Control.AccessibleName プロパティ
Control.AccessibleDescription プロパティ
Control.AccessibleDefaultActionDescription プロパティ
Control.AccessibleRole プロパティ
Control.CreateAccessibilityInstance
DataGridView.DataGridViewAccessibleObject クラス
DataGridViewCell.DataGridViewCellAccessibleObject
DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject
DataGridViewRowHeaderCell.CreateAccessibilityInstance
AccessibleRole 列挙体
DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject メソッド

名前 | 説明 | |
---|---|---|
![]() | CreateObjRef | リモート オブジェクトとの通信に使用するプロキシの生成に必要な情報をすべて格納しているオブジェクトを作成します。 ( MarshalByRefObject から継承されます。) |
![]() | DoDefaultAction | オーバーライドされます。 DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject の既定のアクションを実行します。 |
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。) |
![]() | GetChild | 指定したインデックスに対応するユーザー補助オブジェクトを返します。 ( DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | GetChildCount | オーバーライドされます。 DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject に属する子ユーザー補助オブジェクトの数を取得します。 |
![]() | GetFocused | キーボード フォーカスがある子ユーザー補助オブジェクトを返します。 ( DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。) |
![]() | GetHelpTopic | ヘルプ トピックの識別子と、このユーザー補助オブジェクトに関連付けられたヘルプ ファイルへのパスを取得します。 ( AccessibleObject から継承されます。) |
![]() | GetLifetimeService | 対象のインスタンスの有効期間ポリシーを制御する、現在の有効期間サービス オブジェクトを取得します。 ( MarshalByRefObject から継承されます。) |
![]() | GetSelected | 現在選択されている子ユーザー補助オブジェクトを返します。 ( DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
![]() | HitTest | 指定した画面座標にある子オブジェクトを取得します。 ( AccessibleObject から継承されます。) |
![]() | InitializeLifetimeService | 対象のインスタンスの有効期間ポリシーを制御する、有効期間サービス オブジェクトを取得します。 ( MarshalByRefObject から継承されます。) |
![]() | Navigate | 他のユーザー補助オブジェクトに移動します。 ( DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
![]() | Select | ユーザー補助オブジェクトの選択項目の修正またはキーボード フォーカスの移動を行います。 ( DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 ( Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) |
![]() | MemberwiseClone | オーバーロードされます。 ( MarshalByRefObject から継承されます。) |
![]() | UseStdAccessibleObjects | オーバーロードされます。 オブジェクトを AccessibleObject のインスタンスに関連付けます。 ( AccessibleObject から継承されます。) |

関連項目
DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject クラスSystem.Windows.Forms 名前空間
DataGridView クラス
DataGridViewButtonCell クラス
AccessibleObject クラス
DataGridViewColumnHeaderCell
DataGridViewRowHeaderCell
DataGridViewRow
DataGridViewCell
Control.AccessibleName プロパティ
Control.AccessibleDescription プロパティ
Control.AccessibleDefaultActionDescription プロパティ
Control.AccessibleRole プロパティ
Control.CreateAccessibilityInstance
DataGridView.DataGridViewAccessibleObject クラス
DataGridViewCell.DataGridViewCellAccessibleObject
DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject
DataGridViewRowHeaderCell.CreateAccessibilityInstance
AccessibleRole 列挙体
DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject メンバ
ユーザー補助クライアント アプリケーションに対し、DataGridViewButtonCell に関する情報を提供します。
DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject データ型で公開されるメンバを以下の表に示します。

名前 | 説明 | |
---|---|---|
![]() | DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject | DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject クラスの新しいインスタンスを初期化します。 |

名前 | 説明 | |
---|---|---|
![]() | Bounds | ユーザー補助オブジェクトの位置とサイズを取得します。(DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | DefaultAction | オーバーライドされます。 DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject の既定のアクションを表す System.String を取得します。 |
![]() | Description | 指定したオブジェクトの外観を説明する文字列を取得します。説明が用意されていないオブジェクトもあります。(AccessibleObject から継承されます。) |
![]() | Help | 所有しているセルの型の名前および基本型の名前を取得します。(DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | KeyboardShortcut | ユーザー補助オブジェクトのショートカット キーまたはアクセス キーを取得します。(AccessibleObject から継承されます。) |
![]() | Name | DataGridViewCell.DataGridViewCellAccessibleObject の名前を取得します。(DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | Owner | DataGridViewCell.DataGridViewCellAccessibleObject を所有しているセルを取得または設定します。(DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | Parent | DataGridViewCell.DataGridViewCellAccessibleObject の親を取得します。(DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | Role | DataGridViewCell.DataGridViewCellAccessibleObject の役割を取得します。(DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | State | DataGridViewCell.DataGridViewCellAccessibleObject の状態を取得します。(DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | Value | 所有しているセルの書式指定済みの値を表す文字列を取得または設定します。 (DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | CreateObjRef | リモート オブジェクトとの通信に使用するプロキシの生成に必要な情報をすべて格納しているオブジェクトを作成します。 (MarshalByRefObject から継承されます。) |
![]() | DoDefaultAction | オーバーライドされます。 DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject の既定のアクションを実行します。 |
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。) |
![]() | GetChild | 指定したインデックスに対応するユーザー補助オブジェクトを返します。 (DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | GetChildCount | オーバーライドされます。 DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject に属する子ユーザー補助オブジェクトの数を取得します。 |
![]() | GetFocused | キーボード フォーカスがある子ユーザー補助オブジェクトを返します。 (DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。) |
![]() | GetHelpTopic | ヘルプ トピックの識別子と、このユーザー補助オブジェクトに関連付けられたヘルプ ファイルへのパスを取得します。 (AccessibleObject から継承されます。) |
![]() | GetLifetimeService | 対象のインスタンスの有効期間ポリシーを制御する、現在の有効期間サービス オブジェクトを取得します。 (MarshalByRefObject から継承されます。) |
![]() | GetSelected | 現在選択されている子ユーザー補助オブジェクトを返します。 (DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
![]() | HitTest | 指定した画面座標にある子オブジェクトを取得します。 (AccessibleObject から継承されます。) |
![]() | InitializeLifetimeService | 対象のインスタンスの有効期間ポリシーを制御する、有効期間サービス オブジェクトを取得します。 (MarshalByRefObject から継承されます。) |
![]() | Navigate | 他のユーザー補助オブジェクトに移動します。 (DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
![]() | Select | ユーザー補助オブジェクトの選択項目の修正またはキーボード フォーカスの移動を行います。 (DataGridViewCell.DataGridViewCellAccessibleObject から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
![]() | MemberwiseClone | オーバーロードされます。 ( MarshalByRefObject から継承されます。) |
![]() | UseStdAccessibleObjects | オーバーロードされます。 オブジェクトを AccessibleObject のインスタンスに関連付けます。 (AccessibleObject から継承されます。) |

関連項目
DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject クラスSystem.Windows.Forms 名前空間
DataGridView クラス
DataGridViewButtonCell クラス
AccessibleObject クラス
DataGridViewColumnHeaderCell
DataGridViewRowHeaderCell
DataGridViewRow
DataGridViewCell
Control.AccessibleName プロパティ
Control.AccessibleDescription プロパティ
Control.AccessibleDefaultActionDescription プロパティ
Control.AccessibleRole プロパティ
Control.CreateAccessibilityInstance
DataGridView.DataGridViewAccessibleObject クラス
DataGridViewCell.DataGridViewCellAccessibleObject
DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject
DataGridViewRowHeaderCell.CreateAccessibilityInstance
AccessibleRole 列挙体
- DataGridViewButtonCell.DataGridViewButtonCellAccessibleObjectのページへのリンク