开发者

ListPicker FullMode Wp7

开发者 https://www.devze.com 2023-03-03 21:36 出处:网络
I try to open a listpicker programmatically in full mode, but that doesn\'t seem to work. picker.Visibility = Visibility.Visible;

I try to open a listpicker programmatically in full mode, but that doesn't seem to work.

        picker.Visibility = Visibility.Visible;
        picker.ListPickerMode = ListPickerMode.Full;

Has someone an idea how to open a selection page, like that of the ListPicker programmaticall开发者_开发百科y? Or do I just use the wrong control for such a behaviour?


The ListPicker control does not support being opened in FullMode initially. It implements the full mode by using a separate pages and handling the navigation to/from it for you. If you simply need a full-screen list of options, then you will need to implement a similar page yourself. You might find the source code for ListPicker useful.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号