How do I style a ComboBox in Windows Phone 8.1 when there are more than 5 ComboBoxItems? -
I got a combo box bound to the collection of complex types in my view Moodl the basis of any number The length of the user's preferences may be
I combo box works as created a style based on the default and the expected count when the item is 5 or below.
However, ComboBox uses full screen in Windows Phone 8.1 if there are more than 5 items in the source of items.
When this is the case then none of my styles are being applied and it is using the default combo box style.
How can I ensure that the style of the combo box is applied regardless of the number of items in the item?
You need to customize flyout style using ListPickerFlyoutPresenter C: \ Program Files (x86) Get the default template from \ Windows Phone Kit \ 8.1 \ abi \ Xaml \ Design \ generic.xaml, and apply your preferences.
For example, you as the background and foreground colors following:
style target type = "Control List Piccrfluatprashusr" & gt; & Lt; Setter property = "foreground" value = "black" /> & Lt; Setter property = "background" value = "white" /> ...
Comments
Post a Comment