System.Windows.Forms.Control.AccessibilityNotifyClients Method

Notifies the accessibility client applications of the specified System.Windows.Forms.AccessibleEvents for the specified child control.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected void AccessibilityNotifyClients (AccessibleEvents accEvent, int childID)

Parameters

accEvent
The System.Windows.Forms.AccessibleEvents to notify the accessibility client applications of.
childID
The child System.Windows.Forms.Control to notify of the accessible event.

Remarks

You must call the System.Windows.Forms.Control.ControlAccessibleObject.NotifyClients(AccessibleEvents) method for each System.Windows.Forms.AccessibleEvents the accessibility client applications are to be notified of. The System.Windows.Forms.Control.ControlAccessibleObject.NotifyClients(AccessibleEvents) method is typically called when a property is set or from within an event handler. For example, you might call the System.Windows.Forms.Control.ControlAccessibleObject.NotifyClients(AccessibleEvents) method and pass in an System.Windows.Forms.AccessibleEvents value of Hide from within the event handler for the Control.VisibleChanged event.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0