Show List Picker

2 posts, 0 answers
  1. Klayton
    Klayton avatar
    8 posts
    Member since:
    Sep 2011

    Posted 15 May Link to this post

    Hello good afternoon I am testing the ListPicker. Is there a C # command to display the ListPicker? Thank you
  2. Didi
    Admin
    Didi avatar
    345 posts

    Posted 18 May Link to this post

    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.
Back to Top