System.Windows.Forms.ToolStripDropDownItemAccessibleObject.DoDefaultAction Method

Performs the default action associated with this accessible object.

Syntax

public override void DoDefaultAction ()

Remarks

Clients can retrieve the object's default action by inspecting an object's AccessibleObject.DefaultAction property. A client can use automation (if supported) instead of AccessibleObject.DoDefaultAction to perform an object's default action. However, AccessibleObject.DoDefaultAction provides an easy way to perform an object's most commonly used action.

Requirements

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