DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ユーザー補助クライアント アプリケーションに DataGridViewColumnHeaderCell に関する情報を提供します。
protected: ref class DataGridViewColumnHeaderCell::DataGridViewColumnHeaderCellAccessibleObject : System::Windows::Forms::DataGridViewCell::DataGridViewCellAccessibleObject
protected class DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject : System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject
Protected Class DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject
Inherits DataGridViewCell.DataGridViewCellAccessibleObject
- 継承
-
DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject
- 派生
注釈
Windows フォームには、アプリケーションがアクセシビリティ クライアント アプリケーションを操作できるようにする組み込みのアクセシビリティ サポートが含まれています。 アクセシビリティ クライアント アプリケーションの例としては、画面拡大ユーティリティと校閲者ユーティリティ、音声入力ユーティリティ、スクリーン キーボード、代替入力デバイス、キーボード拡張ユーティリティなどがあります。
クラスはDataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject、アクセシビリティ クライアント アプリケーションに関する情報をDataGridViewColumnHeaderCell提供するために、クラスから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 を使用したデータ テーブルの公開」を参照してください。
コンストラクター
DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject(DataGridViewColumnHeaderCell) |
DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject クラスの新しいインスタンスを初期化します。 |
プロパティ
Bounds |
ユーザー補助オブジェクトの位置とサイズを取得します。 |
DefaultAction |
DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject の既定のアクションを説明する文字列を取得します。 |
Description |
指定したオブジェクトの外観を説明する文字列を取得します。 説明が用意されていないオブジェクトもあります。 (継承元 AccessibleObject) |
Help |
所有しているセルの型の名前および基本型の名前を取得します。 (継承元 DataGridViewCell.DataGridViewCellAccessibleObject) |
KeyboardShortcut |
ユーザー補助オブジェクトのショートカット キーまたはアクセス キーを取得します。 (継承元 AccessibleObject) |
Name |
DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject の名前を取得します。 |
Owner |
DataGridViewCell.DataGridViewCellAccessibleObject を所有しているセルを取得または設定します。 (継承元 DataGridViewCell.DataGridViewCellAccessibleObject) |
Parent | |
Role |
DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject の役割を取得します。 |
State |
DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject の状態を取得します。 |
Value |
DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject の値を取得します。 |