Breyta

Deila með


ButtonBase.OnAccessKey(AccessKeyEventArgs) Method

Definition

Responds when the AccessKey for this control is called.

protected:
 override void OnAccessKey(System::Windows::Input::AccessKeyEventArgs ^ e);
protected override void OnAccessKey (System.Windows.Input.AccessKeyEventArgs e);
override this.OnAccessKey : System.Windows.Input.AccessKeyEventArgs -> unit
Protected Overrides Sub OnAccessKey (e As AccessKeyEventArgs)

Parameters

e
AccessKeyEventArgs

The event data for the AccessKeyPressed event.

Remarks

If IsMultiple is true, this method calls the base implementation, which gives this control focus. Otherwise, this method raises the Click event.

Applies to