Formulários do Windows inclui suporte internos de acessibilidade que permite que seu aplicativo trabalhar com aplicativos cliente de acessibilidade.Exemplos de aplicativos cliente de acessibilidade incluem utilitários enlarger e revisor da tela voz utilitários de entrada, na tela teclados, dispositivos de entrada alternativos e utilitários de aprimoramento do teclado.
The DataGridViewImageCell.DataGridViewImageCellAccessibleObject class inherits from the AccessibleObject class to provide information about a DataGridViewImageCell to accessibility client applications.Each class that represents a visual part of the DataGridView—such as DataGridViewColumnHeaderCell, DataGridViewRowHeaderCell, DataGridViewRow and DataGridViewCell—also contains a class that inherits from AccessibleObject to provide information about the containing class and perform actions on behalf of accessibility client applications.
There are instances when you will want to provide additional information, such as the name or description of the DataGridView control, to accessibility client applications.Há duas maneiras de fornecer essas informações adicionais.To provide limited accessibility information for existing controls, set the control's AccessibleName and AccessibleDescription property values, which will be reported to accessibility client applications.
Occasionally, you might require more accessibility information or different accessibility actions to be included with your custom DataGridView or DataGridViewCell.To customize accessibility, you can write your own class that derives from the DataGridView.DataGridViewAccessibleObject or DataGridViewCell.DataGridViewCellAccessibleObject classes and override the CreateAccessibilityInstance method.For example, if you are writing a custom row header cell that implements unique custom actions, such as special hit testing within your cell, you should create a class that inherits from the DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject class and override the CreateAccessibilityInstance method.
The DataGridView exposes its data structure by using AccessibleRole values to define the data table hierarchy.Para obter mais informações sobre expor as tabelas de dados para Microsoft Active Accessibility, consulte "Exposing dados tabelas através de Microsoft Active Accessibility" na Biblioteca MSDN em http://msdn.microsoft.com/library.