DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ユーザー補助クライアント アプリケーションに DataGridViewRowHeaderCell に関する情報を提供します。
protected: ref class DataGridViewRowHeaderCell::DataGridViewRowHeaderCellAccessibleObject : System::Windows::Forms::DataGridViewCell::DataGridViewCellAccessibleObject
protected class DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject : System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject
Protected Class DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject
Inherits DataGridViewCell.DataGridViewCellAccessibleObject
- 継承
-
DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject
注釈
Windows フォームには、アプリケーションがアクセシビリティ クライアント アプリケーションを操作できるようにする組み込みのアクセシビリティ サポートが含まれています。 アクセシビリティ クライアント アプリケーションの例としては、画面拡大ユーティリティと校閲者ユーティリティ、音声入力ユーティリティ、スクリーン キーボード、代替入力デバイス、キーボード拡張ユーティリティなどがあります。
クラスはDataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject、アクセシビリティ クライアント アプリケーションに関する情報をDataGridViewRowHeaderCell提供するために、クラスからAccessibleObject継承します。 などDataGridViewColumnHeaderCellDataGridViewRowHeaderCell、および DataGridViewCell - のDataGridViewビジュアル部分を表す各クラスには、包含クラスに関する情報を提供し、DataGridViewRowアクセシビリティ クライアント アプリケーションの代わりにアクションを実行するために継承AccessibleObjectするクラスも含まれています。
ユーザー補助クライアント アプリケーションに対して、コントロールの名前や説明などの追加情報を DataGridView 提供する場合があります。 この追加情報を提供する方法は 2 つあります。 既存のコントロールのアクセシビリティ情報を制限するには、アクセシビリティ クライアント アプリケーションに報告されるコントロール AccessibleName と AccessibleDescription プロパティの値を設定します。
注意
リストのように見える場合DataGridViewなど、まれな状況でのみ、プロパティ値とAccessibleRoleプロパティ値を変更AccessibleDefaultActionDescriptionする必要があります。
場合によっては、より多くのアクセシビリティ情報やさまざまなアクセシビリティアクションをカスタム DataGridView または DataGridViewCell. アクセシビリティをカスタマイズするには、クラスからDataGridViewCell.DataGridViewCellAccessibleObject派生した独自のクラスをDataGridView.DataGridViewAccessibleObject記述し、メソッドをCreateAccessibilityInstanceオーバーライドします。 たとえば、セル内で特殊なヒット テストなどの一意のカスタム アクションを実装するカスタム行ヘッダー セルを作成する場合は、クラスから継承するクラスを DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject 作成し、メソッドをオーバーライドする CreateAccessibilityInstance 必要があります。
値 DataGridView を使用して AccessibleRole データ テーブル階層を定義することで、データ構造を公開します。 Microsoft Active Accessibility にデータ テーブルを公開する方法の詳細については、「Microsoft Active Accessibility を使用したデータ テーブルの公開」を参照してください。
コンストラクター
DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject(DataGridViewRowHeaderCell) |
DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject クラスの新しいインスタンスを初期化します。 |
プロパティ
Bounds |
ユーザー補助オブジェクトの位置とサイズを取得します。 |
DefaultAction |
DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject の既定のアクションの説明を取得します。 |
Description |
指定したオブジェクトの外観を説明する文字列を取得します。 説明が用意されていないオブジェクトもあります。 (継承元 AccessibleObject) |
Help |
所有しているセルの型の名前および基本型の名前を取得します。 (継承元 DataGridViewCell.DataGridViewCellAccessibleObject) |
KeyboardShortcut |
ユーザー補助オブジェクトのショートカット キーまたはアクセス キーを取得します。 (継承元 AccessibleObject) |
Name |
DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject の名前を取得します。 |
Owner |
DataGridViewCell.DataGridViewCellAccessibleObject を所有しているセルを取得または設定します。 (継承元 DataGridViewCell.DataGridViewCellAccessibleObject) |
Parent |
DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject の親を取得します。 |
Role |
DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject の役割を取得します。 |
State |
DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject の状態を取得します。 |
Value |
DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject の値を取得します。 |