This is a migrated thread and some comments may be shown as answers.

Cancel Button Event

2 Answers 392 Views
ListPicker
This is a migrated thread and some comments may be shown as answers.
Klayton
Top achievements
Rank 1
Veteran
Klayton asked on 27 Aug 2020, 11:58 PM

Good night friends,

 

How can I detect the cancel event?

When the confirm button is pressed,

I'm using the event:

_listPickerProduto.SelectionChanged + = listPickerProduto_SelectionChanged;

 

In the case of the cancel button I didn't find how to do it.

Thank you for your help

2 Answers, 1 is accepted

Sort by
0
Accepted
Didi
Telerik team
answered on 28 Aug 2020, 04:29 AM

Hello Klayton,

The RadListPicker does not provide a cancel button event. The ListPicker popup (the dialog which contains the items and the users can pick an item) has Cancel and OK buttons. The date value should be confirmed or rejected through the OK and Cancel buttons placed on the popup.

Instead of cancel event the control has a CancelCommand. For more information about ListPicker commands, please check the following article in our documentation: https://docs.telerik.com/devtools/xamarin/controls/listpicker/list-picker-commands

Regards,
Didi
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Klayton
Top achievements
Rank 1
Veteran
answered on 28 Aug 2020, 11:39 AM
Got it, Is it possible to detect that the List has been closed?
Tags
ListPicker
Asked by
Klayton
Top achievements
Rank 1
Veteran
Answers by
Didi
Telerik team
Klayton
Top achievements
Rank 1
Veteran
Share this question
or