WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface ICalculatorButtonParent

    Show / Hide Table of Contents

    Interface ICalculatorButtonParent

    This interface can be implemented by classes that want to act as the parent for this calculator engine.

    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public interface ICalculatorButtonParent
    Remarks

    The Calculator Control implements this interface to get notifications from the Calculator Engine when there is a change in the state of the Calculator Engine.

    Methods

    ButtonAction(CalcActions)

    The Calculator Buttons will use this method to call back a click action and pass in their CalcActions type action property.

    Declaration
    void ButtonAction(CalcActions action)
    Parameters
    Type Name Description
    CalcActions action

    The action that is to be performed.

    HandleChildKeyDown(KeyEventArgs)

    This handler will be invoked by the buttons each time a button has the focus and the KeyDown event is raised. This will be used by the parent Container Control to process keyboard shortcuts.

    Declaration
    void HandleChildKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.KeyEventArgs e

    The KeyEventArgs defining the KeyDown event.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved