Control.ControlAccessibleObject.NotifyClients Method (AccessibleEvents, Int32)

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public void NotifyClients(
	AccessibleEvents accEvent,
	int childID
)

Parameters

accEvent
Type: System.Windows.Forms.AccessibleEvents

The AccessibleEvents to notify the accessibility client applications of.

childID
Type: System.Int32

The child Control to notify of the accessible event.

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

.NET Framework
Available since 1.1
Return to top
Show: