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

Show List Picker

1 Answer 168 Views
ListPicker
This is a migrated thread and some comments may be shown as answers.
Klayton
Top achievements
Rank 1
Veteran
Klayton asked on 15 May 2020, 09:50 PM
Hello good afternoon I am testing the ListPicker. Is there a C # command to display the ListPicker? Thank you

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 18 May 2020, 06:00 AM

Hello Klayton,

You can visualize the list picker popup using the control's toggle command. More details about List Picker commands - check the following link form our documentation: https://docs.telerik.com/devtools/xamarin/controls/listpicker/list-picker-commands

Example:

ListPicker definition:

    <telerikInput:RadListPicker x:Name="listpicker"/>

 

executing the ToggleCommand after the InitializeComponent method in the page's code behind.

Device.StartTimer(TimeSpan.FromMilliseconds(1000), () => {
    this.listpicker.ToggleCommand.Execute(null);

    return false;
});

I hope this will help.

Regards,
Didi
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
ListPicker
Asked by
Klayton
Top achievements
Rank 1
Veteran
Answers by
Didi
Telerik team
Share this question
or