protected OnDialogBoxLauncherClick ( |
||
e | An EventArgs containing the event data. | |
return | void |
protected internal virtual void OnDialogBoxLauncherClick(EventArgs e)
{
// Perform processing that is common to any action that would dismiss
// any popup controls such as the showing minimized group popup
if (Ribbon!= null)
Ribbon.ActionOccured();
if (DialogBoxLauncherClick != null)
DialogBoxLauncherClick(this, e);
}
private void OnClick(object sender, MouseEventArgs e) { // We do not operate the dialog launcher at design time if (!_ribbon.InDesignMode) { // Fire the group defined event that indicates dialog box launcher button pressed _ribbonGroup.OnDialogBoxLauncherClick(EventArgs.Empty); } }