I want to add a List picker on tap event of Textblock?
Please anyone suggest a simple solution and if possible send a sample code.
I have tried so far the below code. I am getting PickerPageUri error while displaying.
Thanks
private void tb_Tap(object sender, System.Windows.Input.GestureEventArgs e) { ListPicker lp = new ListPicker(); lp.Background = new SolidColorBrush(Colors.Blue); lp.Height = 500; LayoutRoot.Children.Add(lp); }
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.