118 references to AccessibleEvents
System.Windows.Forms (58)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (3)
458
public void NotifyClients(
AccessibleEvents
accEvent)
461
public void NotifyClients(
AccessibleEvents
accEvent, int childID)
464
public void NotifyClients(
AccessibleEvents
accEvent, int objectID, int childID)
System\Windows\Forms\Accessibility\LabelEditNativeWindow.cs (3)
49
(uint)
AccessibleEvents
.ValueChange,
50
(uint)
AccessibleEvents
.ValueChange,
127
case (uint)
AccessibleEvents
.ValueChange:
System\Windows\Forms\ContextMenuStrip.cs (2)
147
AccessibilityNotifyClients(
AccessibleEvents
.SystemMenuPopupStart, -1);
169
AccessibilityNotifyClients(
AccessibleEvents
.SystemMenuPopupEnd, -1);
System\Windows\Forms\Control.cs (2)
4127
protected internal void AccessibilityNotifyClients(
AccessibleEvents
accEvent, int childID)
4133
protected void AccessibilityNotifyClients(
AccessibleEvents
accEvent, int objectID, int childID)
System\Windows\Forms\Controls\Buttons\Button.cs (2)
198
AccessibilityNotifyClients(
AccessibleEvents
.StateChange, -1);
199
AccessibilityNotifyClients(
AccessibleEvents
.NameChange, -1);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
1232
AccessibilityNotifyClients(
AccessibleEvents
.StateChange, -1);
System\Windows\Forms\Controls\Buttons\CheckBox.cs (5)
412
AccessibilityNotifyClients(
AccessibleEvents
.SystemCaptureStart, -1);
416
AccessibilityNotifyClients(
AccessibleEvents
.StateChange, -1);
417
AccessibilityNotifyClients(
AccessibleEvents
.NameChange, -1);
429
AccessibilityNotifyClients(
AccessibleEvents
.SystemCaptureEnd, -1);
451
AccessibilityNotifyClients(
AccessibleEvents
.StateChange, -1);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (2)
342
AccessibilityNotifyClients(
AccessibleEvents
.StateChange, -1);
343
AccessibilityNotifyClients(
AccessibleEvents
.NameChange, -1);
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (2)
2893
AccessibilityNotifyClients(
AccessibleEvents
.Focus, childID: -1);
2899
(uint)
AccessibleEvents
.Focus,
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
47
AccessibilityNotifyClients(
AccessibleEvents
.Focus, objectID, childID);
56
AccessibilityNotifyClients(
AccessibleEvents
.Selection, objectID, childID);
28348
AccessibilityNotifyClients(
AccessibleEvents
.Reorder, (int)OBJECT_IDENTIFIER.OBJID_CLIENT, (int)PInvoke.CHILDID_SELF);
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
988
accessibleObject.NotifyClients(
AccessibleEvents
.StateChange, objectID, childID);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1654
AccessibilityNotifyClients(
AccessibleEvents
.Focus, focusIndex);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (1)
206
_owner.AccessibilityNotifyClients(
AccessibleEvents
.StateChange, index);
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.cs (4)
422
AccessibilityNotifyClients(
AccessibleEvents
.Focus, index);
423
AccessibilityNotifyClients(
AccessibleEvents
.Selection, index);
441
AccessibilityNotifyClients(
AccessibleEvents
.StateChange, index);
442
AccessibilityNotifyClients(
AccessibleEvents
.NameChange, index);
System\Windows\Forms\Controls\ListView\ListView.cs (2)
6565
AccessibilityNotifyClients(
AccessibleEvents
.StateChange, nmlv->iItem);
6566
AccessibilityNotifyClients(
AccessibleEvents
.NameChange, nmlv->iItem);
System\Windows\Forms\Controls\Menus\MenuStrip.cs (2)
175
AccessibilityNotifyClients(
AccessibleEvents
.SystemMenuStart, (int)OBJECT_IDENTIFIER.OBJID_MENU, -1);
185
AccessibilityNotifyClients(
AccessibleEvents
.SystemMenuEnd, (int)OBJECT_IDENTIFIER.OBJID_MENU, -1);
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (6)
2065
AccessibilityNotifyClients(
AccessibleEvents
.NameChange, -1);
2066
AccessibilityNotifyClients(
AccessibleEvents
.ValueChange, -1);
2120
AccessibilityNotifyClients(
AccessibleEvents
.ValueChange, -1);
2121
AccessibilityNotifyClients(
AccessibleEvents
.NameChange, -1);
2134
AccessibilityNotifyClients(
AccessibleEvents
.NameChange, -1);
2135
AccessibilityNotifyClients(
AccessibleEvents
.ValueChange, -1);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (4)
346
accessibleObject.NotifyClients(
AccessibleEvents
.StateChange, id);
347
accessibleObject.NotifyClients(
AccessibleEvents
.NameChange, id);
483
gridAccObj.NotifyClients(
AccessibleEvents
.Focus, id);
484
gridAccObj.NotifyClients(
AccessibleEvents
.Selection, id);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (2)
91
AccessibilityNotifyClients(
AccessibleEvents
.StateChange, -1);
92
AccessibilityNotifyClients(
AccessibleEvents
.NameChange, -1);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2420
((ControlAccessibleObject)EditTextBox.AccessibilityObject).NotifyClients(
AccessibleEvents
.Focus);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (1)
138
AccessibilityNotifyClients(
AccessibleEvents
.Focus, childID: -1);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
1843
AccessibilityNotifyClients(
AccessibleEvents
.Focus, focusIndex);
System\Windows\Forms\Controls\ToolStrips\ToolStripButton.cs (1)
186
AccessibilityNotifyClients(
AccessibleEvents
.StateChange);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownItem.cs (4)
418
AccessibilityNotifyClients(
AccessibleEvents
.StateChange);
419
AccessibilityNotifyClients(
AccessibleEvents
.NameChange);
726
AccessibilityNotifyClients(
AccessibleEvents
.StateChange);
727
AccessibilityNotifyClients(
AccessibleEvents
.NameChange);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (1)
2014
internal void AccessibilityNotifyClients(
AccessibleEvents
accEvent)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
809
AccessibilityNotifyClients(
AccessibleEvents
.StateChange);
System.Windows.Forms.Design (14)
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
336
AccessibilityNotifyClients(
AccessibleEvents
.Focus, 0, -1);
System\Drawing\Design\ColorEditor.ColorPalette.cs (1)
222
(uint)
AccessibleEvents
.Focus,
System\Windows\Forms\Design\ComponentTray.cs (2)
254
(uint)
AccessibleEvents
.SelectionAdd,
269
(uint)
AccessibleEvents
.Focus,
System\Windows\Forms\Design\DesignerFrame.cs (1)
122
(uint)
AccessibleEvents
.Focus,
System\Windows\Forms\Design\DocumentDesigner.cs (4)
1126
(uint)
AccessibleEvents
.LocationChange,
1134
(uint)
AccessibleEvents
.Focus,
1161
(uint)
AccessibleEvents
.SelectionAdd,
1171
(uint)
AccessibleEvents
.Focus,
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
962
(uint)
AccessibleEvents
.SelectionAdd,
974
(uint)
AccessibleEvents
.Focus,
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
184
(uint)
AccessibleEvents
.SelectionAdd,
189
(uint)
AccessibleEvents
.Focus,
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1754
AccessibilityNotifyClients(
AccessibleEvents
.StateChange, -1);
System.Windows.Forms.Tests (46)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (10)
1006
[InlineData(
AccessibleEvents
.Create)]
1007
public void ControlAccessibleObject_NotifyClients_InvokeAccessibleEvents_Success(
AccessibleEvents
accEvent)
1015
[InlineData(
AccessibleEvents
.Create, -1)]
1016
[InlineData(
AccessibleEvents
.Create, 0)]
1017
[InlineData(
AccessibleEvents
.Create, 1)]
1018
public void ControlAccessibleObject_NotifyClients_InvokeAccessibleEventsInt_Success(
AccessibleEvents
accEvent, int childID)
1026
[InlineData(
AccessibleEvents
.Create, -1, -1)]
1027
[InlineData(
AccessibleEvents
.Create, 1, 0)]
1028
[InlineData(
AccessibleEvents
.Create, 2, 1)]
1029
public void ControlAccessibleObject_NotifyClients_InvokeAccessibleEventsIntInt_Success(
AccessibleEvents
accEvent, int objectID, int childID)
System\Windows\Forms\ControlTests.cs (2)
1198
public new void AccessibilityNotifyClients(
AccessibleEvents
accEvent, int childID) => base.AccessibilityNotifyClients(accEvent, childID);
1200
public new void AccessibilityNotifyClients(
AccessibleEvents
accEvent, int objectID, int childID) => base.AccessibilityNotifyClients(accEvent, objectID, childID);
System\Windows\Forms\ControlTests.Methods.cs (34)
19
yield return new object[] {
AccessibleEvents
.DescriptionChange, int.MinValue };
20
yield return new object[] {
AccessibleEvents
.DescriptionChange, -1 };
21
yield return new object[] {
AccessibleEvents
.DescriptionChange, 0 };
22
yield return new object[] {
AccessibleEvents
.DescriptionChange, 1 };
23
yield return new object[] {
AccessibleEvents
.DescriptionChange, int.MaxValue };
24
yield return new object[] { (
AccessibleEvents
)0, int.MinValue };
25
yield return new object[] { (
AccessibleEvents
)0, -1 };
26
yield return new object[] { (
AccessibleEvents
)0, 0 };
27
yield return new object[] { (
AccessibleEvents
)0, 1 };
28
yield return new object[] { (
AccessibleEvents
)0, int.MaxValue };
29
yield return new object[] { (
AccessibleEvents
)int.MaxValue, int.MinValue };
30
yield return new object[] { (
AccessibleEvents
)int.MaxValue, -1 };
31
yield return new object[] { (
AccessibleEvents
)int.MaxValue, 0 };
32
yield return new object[] { (
AccessibleEvents
)int.MaxValue, 1 };
33
yield return new object[] { (
AccessibleEvents
)int.MaxValue, int.MaxValue };
38
public void Control_AccessibilityNotifyClients_InvokeAccessibleEventsIntWithoutHandle_Nop(
AccessibleEvents
accEvent, int childID)
51
public void Control_AccessibilityNotifyClients_InvokeAccessibleEventsIntWithHandle_Success(
AccessibleEvents
accEvent, int childID)
66
yield return new object[] {
AccessibleEvents
.DescriptionChange, int.MaxValue, int.MinValue };
67
yield return new object[] {
AccessibleEvents
.DescriptionChange, 1, -1 };
68
yield return new object[] {
AccessibleEvents
.DescriptionChange, 0, 0 };
69
yield return new object[] {
AccessibleEvents
.DescriptionChange, -1, 1 };
70
yield return new object[] {
AccessibleEvents
.DescriptionChange, int.MinValue, int.MaxValue };
71
yield return new object[] { (
AccessibleEvents
)0, int.MaxValue, int.MinValue };
72
yield return new object[] { (
AccessibleEvents
)0, 1, -1 };
73
yield return new object[] { (
AccessibleEvents
)0, 0, 0 };
74
yield return new object[] { (
AccessibleEvents
)0, -1, 1 };
75
yield return new object[] { (
AccessibleEvents
)0, int.MinValue, int.MaxValue };
76
yield return new object[] { (
AccessibleEvents
)int.MaxValue, int.MaxValue, int.MinValue };
77
yield return new object[] { (
AccessibleEvents
)int.MaxValue, 1, -1 };
78
yield return new object[] { (
AccessibleEvents
)int.MaxValue, 0, 0 };
79
yield return new object[] { (
AccessibleEvents
)int.MaxValue, 1, 1 };
80
yield return new object[] { (
AccessibleEvents
)int.MaxValue, int.MinValue, int.MaxValue };
85
public void Control_AccessibilityNotifyClients_InvokeAccessibleEventsIntIntWithoutHandle_Nop(
AccessibleEvents
accEvent, int objectID, int childID)
98
public void Control_AccessibilityNotifyClients_InvokeAccessibleEventsIntIntWithHandle_Success(
AccessibleEvents
accEvent, int objectID, int childID)