Forum Discussion

Ame's avatar
Ame
New Contributor
3 years ago
Solved

how to use a button's add_Click function?

hello all.       I see that a button has many add_xxx functions, such as add_Click(), add_Drop(), add_Loaded()...       but I never find the help information about them from the tutorial, official ...
  • AlexKaras's avatar
    3 years ago

    Hi,

     

    Methods you are talking about are all under the .NET group. This means that they are native (public) methods provided by the given .Net control (button in your case) and are accessible (callable) for TestComplete (https://support.smartbear.com/testcomplete/docs/app-testing/desktop/wpf/about.html#AvailableProperties). You should search relevant .Net documentation (documentation for the WPF button of certain class and version in your case) or talk to your developers in order to get the overall description and parameters definition for this or that native .Net control's method.