/
DataGridViewButtonCell+DataGridViewButtonCellAccessibleObject.xml
213 lines (200 loc) · 17.2 KB
/
DataGridViewButtonCell+DataGridViewButtonCellAccessibleObject.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<Type Name="DataGridViewButtonCell+DataGridViewButtonCellAccessibleObject" FullName="System.Windows.Forms.DataGridViewButtonCell+DataGridViewButtonCellAccessibleObject">
<TypeSignature Language="C#" Value="protected class DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject : System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject" />
<TypeSignature Language="ILAsm" Value=".class nested protected auto ansi beforefieldinit DataGridViewButtonCell/DataGridViewButtonCellAccessibleObject extends System.Windows.Forms.DataGridViewCell/DataGridViewCellAccessibleObject" />
<TypeSignature Language="DocId" Value="T:System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject" />
<TypeSignature Language="VB.NET" Value="Protected Class DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject
Inherits DataGridViewCell.DataGridViewCellAccessibleObject" />
<TypeSignature Language="C++ CLI" Value="protected: ref class DataGridViewButtonCell::DataGridViewButtonCellAccessibleObject : System::Windows::Forms::DataGridViewCell::DataGridViewCellAccessibleObject" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Windows.Forms.DataGridViewCell+DataGridViewCellAccessibleObject</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute FrameworkAlternate="windowsdesktop-8.0;windowsdesktop-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides information about a <see cref="T:System.Windows.Forms.DataGridViewButtonCell" /> to accessibility client applications.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Windows Forms includes built-in accessibility support that allows your application to work with accessibility client applications. Examples of accessibility client applications include screen enlarger and reviewer utilities, voice input utilities, on-screen keyboards, alternative input devices, and keyboard enhancement utilities.
The <xref:System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject> class inherits from the <xref:System.Windows.Forms.AccessibleObject> class to provide information about the <xref:System.Windows.Forms.DataGridViewButtonCell> to accessibility client applications. Each class that represents a visual part of the <xref:System.Windows.Forms.DataGridView> - such as <xref:System.Windows.Forms.DataGridViewColumnHeaderCell>, <xref:System.Windows.Forms.DataGridViewRowHeaderCell>, <xref:System.Windows.Forms.DataGridViewRow> and <xref:System.Windows.Forms.DataGridViewCell> - also contains a class that inherits from <xref:System.Windows.Forms.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 <xref:System.Windows.Forms.DataGridView> control, to accessibility client applications. There are two ways of providing this additional information. To provide limited accessibility information for existing controls, set the control's <xref:System.Windows.Forms.Control.AccessibleName%2A> and <xref:System.Windows.Forms.Control.AccessibleDescription%2A> property values, which will be reported to accessibility client applications.
> [!NOTE]
> You should change the <xref:System.Windows.Forms.Control.AccessibleDefaultActionDescription%2A> and <xref:System.Windows.Forms.Control.AccessibleRole%2A> property values only in rare situations, such as if you make a <xref:System.Windows.Forms.DataGridView> look like a list.
Occasionally, you might require more accessibility information or different accessibility actions to be included with your custom <xref:System.Windows.Forms.DataGridView> or <xref:System.Windows.Forms.DataGridViewCell>. To customize accessibility, you can write your own class that derives from the <xref:System.Windows.Forms.DataGridView.DataGridViewAccessibleObject> or <xref:System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject> classes and override the <xref:System.Windows.Forms.Control.CreateAccessibilityInstance%2A> 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 <xref:System.Windows.Forms.DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject> class and override the <xref:System.Windows.Forms.DataGridViewRowHeaderCell.CreateAccessibilityInstance%2A> method.
The <xref:System.Windows.Forms.DataGridView> exposes its data structure by using <xref:System.Windows.Forms.AccessibleRole> values to define the data table hierarchy. For more information on exposing data tables to Microsoft Active Accessibility, see [Exposing Data Tables through Microsoft Active Accessibility](https://docs.microsoft.com/previous-versions/windows/desktop/dnacc/exposing-data-tables-through-microsoft-active-accessibility).
]]></format>
</remarks>
<altmember cref="T:System.Windows.Forms.DataGridView" />
<altmember cref="T:System.Windows.Forms.DataGridViewButtonCell" />
<altmember cref="T:System.Windows.Forms.AccessibleObject" />
<altmember cref="T:System.Windows.Forms.DataGridViewColumnHeaderCell" />
<altmember cref="T:System.Windows.Forms.DataGridViewRowHeaderCell" />
<altmember cref="T:System.Windows.Forms.DataGridViewRow" />
<altmember cref="T:System.Windows.Forms.DataGridViewCell" />
<altmember cref="P:System.Windows.Forms.Control.AccessibleName" />
<altmember cref="P:System.Windows.Forms.Control.AccessibleDescription" />
<altmember cref="P:System.Windows.Forms.Control.AccessibleDefaultActionDescription" />
<altmember cref="P:System.Windows.Forms.Control.AccessibleRole" />
<altmember cref="M:System.Windows.Forms.Control.CreateAccessibilityInstance" />
<altmember cref="T:System.Windows.Forms.DataGridView.DataGridViewAccessibleObject" />
<altmember cref="T:System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject" />
<altmember cref="T:System.Windows.Forms.DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject" />
<altmember cref="M:System.Windows.Forms.DataGridViewRowHeaderCell.CreateAccessibilityInstance" />
<altmember cref="T:System.Windows.Forms.AccessibleRole" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DataGridViewButtonCellAccessibleObject (System.Windows.Forms.DataGridViewCell owner);" FrameworkAlternate="netframework-2.0;netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1;windowsdesktop-3.0;windowsdesktop-3.1" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Windows.Forms.DataGridViewCell owner) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject.#ctor(System.Windows.Forms.DataGridViewCell)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (owner As DataGridViewCell)" />
<MemberSignature Language="F#" Value="new System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject : System.Windows.Forms.DataGridViewCell -> System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject" Usage="new System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject owner" />
<MemberSignature Language="C++ CLI" Value="public:
 DataGridViewButtonCellAccessibleObject(System::Windows::Forms::DataGridViewCell ^ owner);" />
<MemberSignature Language="C#" Value="public DataGridViewButtonCellAccessibleObject (System.Windows.Forms.DataGridViewCell? owner);" FrameworkAlternate="windowsdesktop-5.0;windowsdesktop-6.0;windowsdesktop-7.0;windowsdesktop-8.0;windowsdesktop-9.0" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="windowsdesktop-8.0;windowsdesktop-9.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(2)>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="owner" Type="System.Windows.Forms.DataGridViewCell" />
</Parameters>
<Docs>
<param name="owner">The <see cref="T:System.Windows.Forms.DataGridViewCell" /> that owns the <see cref="T:System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject" />.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject" /> class.</summary>
<remarks>To be added.</remarks>
<altmember cref="T:System.Windows.Forms.DataGridView" />
<altmember cref="T:System.Windows.Forms.DataGridViewButtonCell" />
</Docs>
</Member>
<Member MemberName="DefaultAction">
<MemberSignature Language="C#" Value="public override string DefaultAction { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string DefaultAction" />
<MemberSignature Language="DocId" Value="P:System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject.DefaultAction" />
<MemberSignature Language="VB.NET" Value="Public Overrides ReadOnly Property DefaultAction As String" />
<MemberSignature Language="F#" Value="member this.DefaultAction : string" Usage="System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject.DefaultAction" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::String ^ DefaultAction { System::String ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a <see cref="T:System.String" /> that represents the default action of the <see cref="T:System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject" />.</summary>
<value>The <see cref="T:System.String" /> "Press" if the <see cref="P:System.Windows.Forms.DataGridViewCell.ReadOnly" /> property is set to <see langword="false" />; otherwise, an empty <see cref="T:System.String" /> ("").</value>
<remarks>To be added.</remarks>
<altmember cref="T:System.Windows.Forms.DataGridView" />
<altmember cref="T:System.Windows.Forms.DataGridViewButtonCell" />
<altmember cref="P:System.Windows.Forms.DataGridViewCell.ReadOnly" />
</Docs>
</Member>
<Member MemberName="DoDefaultAction">
<MemberSignature Language="C#" Value="public override void DoDefaultAction ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance void DoDefaultAction() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject.DoDefaultAction" />
<MemberSignature Language="VB.NET" Value="Public Overrides Sub DoDefaultAction ()" />
<MemberSignature Language="F#" Value="override this.DoDefaultAction : unit -> unit" Usage="dataGridViewButtonCellAccessibleObject.DoDefaultAction " />
<MemberSignature Language="C++ CLI" Value="public:
 override void DoDefaultAction();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Performs the default action of the <see cref="T:System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject.DoDefaultAction%2A> method causes the button in the <xref:System.Windows.Forms.DataGridViewButtonCell> to be clicked.
]]></format>
</remarks>
<exception cref="T:System.InvalidOperationException">The <see cref="T:System.Windows.Forms.DataGridViewButtonCell" /> returned by the <see cref="P:System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject.Owner" /> property does not belong to a <see cref="T:System.Windows.Forms.DataGridView" /> control.
-or-
The <see cref="T:System.Windows.Forms.DataGridViewButtonCell" /> returned by the <see cref="P:System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject.Owner" /> property belongs to a shared row.
-or-
In .NET 5 and later versions, the <see cref="P:System.Windows.Forms.DataGridViewCell.DataGridViewCellAccessibleObject.Owner" /> property is <see langword="null" />.</exception>
<altmember cref="T:System.Windows.Forms.DataGridView" />
<altmember cref="T:System.Windows.Forms.DataGridViewButtonCell" />
</Docs>
</Member>
<Member MemberName="GetChildCount">
<MemberSignature Language="C#" Value="public override int GetChildCount ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetChildCount() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject.GetChildCount" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function GetChildCount () As Integer" />
<MemberSignature Language="F#" Value="override this.GetChildCount : unit -> int" Usage="dataGridViewButtonCellAccessibleObject.GetChildCount " />
<MemberSignature Language="C++ CLI" Value="public:
 override int GetChildCount();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Windows.Forms</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets the number of child accessible objects that belong to the <see cref="T:System.Windows.Forms.DataGridViewButtonCell.DataGridViewButtonCellAccessibleObject" />.</summary>
<returns>The value -1.</returns>
<remarks>To be added.</remarks>
<altmember cref="T:System.Windows.Forms.DataGridView" />
<altmember cref="T:System.Windows.Forms.DataGridViewButtonCell" />
</Docs>
</Member>
</Members>
</Type>