DataGridViewButtonCell.DataGridViewButtonCellAccessibleObjectとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataGridViewButtonCell.DataGridViewButtonCellAccessibleObjectの意味・解説 

DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject クラス

メモ : このクラスは、.NET Framework version 2.0 で新しく追加されたものです。

ユーザー補助クライアント アプリケーションに対し、DataGridViewButtonCell に関する情報を提供します。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Protected Class DataGridViewButtonCellAccessibleObject
    Inherits DataGridViewCellAccessibleObject
Dim instance As DataGridViewButtonCellAccessibleObject
protected class DataGridViewButtonCellAccessibleObject
 : DataGridViewCellAccessibleObject
private ref class DataGridViewButtonCellAccessibleObject
 : public DataGridViewCellAccessibleObject
protected class DataGridViewButtonCellAccessibleObject
 extends DataGridViewCellAccessibleObject
protected class DataGridViewButtonCellAccessibleObject
 extends DataGridViewCellAccessibleObject
解説解説

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.Object
   System.MarshalByRefObject
     System.Runtime.InteropServices.StandardOleMarshalObject
       System.Windows.Forms.AccessibleObject
         System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject
          System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
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 コンストラクタ

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

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

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Sub New ( _
    owner As DataGridViewCell _
)
Dim owner As DataGridViewCell

Dim instance As New DataGridViewButtonCellAccessibleObject(owner)
public DataGridViewButtonCellAccessibleObject (
    DataGridViewCell owner
)
public:
DataGridViewButtonCellAccessibleObject (
    DataGridViewCell^ owner
)
public DataGridViewButtonCellAccessibleObject (
    DataGridViewCell owner
)
public function DataGridViewButtonCellAccessibleObject
 (
    owner : DataGridViewCell
)

パラメータ

owner

DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject を所有している DataGridViewCell。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject クラス
DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject メンバ
System.Windows.Forms 名前空間
DataGridView クラス
DataGridViewButtonCell クラス

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 から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

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 から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

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.DataGridViewButtonCellAccessibleObjectのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



DataGridViewButtonCell.DataGridViewButtonCellAccessibleObjectのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS