开发者

ListPicker FullMode Wp7

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜