WPF had a property on ComboBoxes called MaxDropDownItems that allowed you to set the number of combobox items visible in the popup without scrolling. It seems that that property doesn't exist in UWPs. Is there some equivalent that achieves the same effect? I'm trying to set the number of items visible before scrolling, but it seems to be fixed at nine by default, and I can't find anything pertinent in generic.xaml.
Is there an equivalent for ComboBox.MaxDropDownItems in UWP XAML?
550 Views Asked by Stanley Ayzenberg At
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in XAML
- WPF multiple control property simultaneous changes
- Telerik's WPF RadColorPicker NoColorText property not working
- Ellipsis inside button content Windows Phone
- Binding to "this.property" object in VisualStateMenager
- Scroll view mistakes
- ContextMenu Closes Immediately
- Update ObservableCollection where the items are received from another List
- Looping "complex" object with ItemsControl
- Animation Trigger (Storyboard + Trigger) in C#
- Exporting Datatable
- xaml c# chart with custom axis label
- Xamarin Forms - Show Cancel button in toolbar items instead of Back (iOS)
- Can custom text be added to a listview cell?
- Bind control property from the inner control
- WPF Interactions CallMethodAction for DataTemplate in ListCheckBox thrown a exception "Could not find method on object of type"
Related Questions in COMBOBOX
- WPF - How to highlight a combobox border when focused
- How can I exclude .xlsb file types in my ComboBox?
- ComboBox Not Being Filled With Unique Field Values Via Dictionary Learning
- DataTrigger is not working
- Access query/combo box
- Combobox and IDataErrorInfo
- Compare date from combobox with current date
- Combo Box 1st item is remained empty in WPF c#
- How do you populate a Combobox based on the selection of another Combobox?
- Cant bind enum to combobox wpf mvvm
- How to dynamically create Sharepoint ComboBoxes?
- Extjs getComponent from another view
- How to save value in ComboBox after refreshing the Rally Dashboard
- Retrieve data from Db set by combobox and display to textbox
- Using multiple JComboBoxes; but they all get any action events
Related Questions in UWP
- Error connecting UWP app to Arduino by USB
- Need xaml ellipse to contain two fill colors that can move up or down like filling a gas tank
- OAuth in PlayReady License Retrieval in UWP
- Cannot set combobox selected item opening a view
- UWP MediaPlayerElement Backwards Compatibility
- How to completely close/release a WebView after it has loaded a youtube link?
- My application has no rights on any folder
- UWP Get Rotation Value (Angle) from Storyboard Animation During or After
- How to load images to a page as soon as they are loaded from a folder in UWP
- How to store setting with UWP C#?
- Cannot create an URI file from text-to-speech audio on UWP
- Create and Delete Folder. Move the file to folder and move the file to outside of the folder
- Using custom video Effects with MediaElement
- UWP xaml: How to display a button with icon and text in it?
- Enlarge image after click C# UWP
Related Questions in UWP-XAML
- UWP - Prevent default ItemsControl focus handling
- UWP xaml: How to display a button with icon and text in it?
- How to set the visiblility of a grid when the grid is inside a DataTemplate?
- UWP Camera CaptureElement displaying on 50% of screen
- Change UWP window border color?
- Moving cursor to next textbox automatically in UWP
- UWP XAML ListView Nested UI on PointerOver
- Unable to set ViewModel property when bound to UWP ComboBox
- UWP RepeatButton MouseEvent
- Template 10: Hamburger Menu can not auto open after changing VisualStateDisplayMode
- HeaderTemplate Design-Data Crashes XAML Designer
- Is there an equivalent for ComboBox.MaxDropDownItems in UWP XAML?
- From code: Change ScrollViewer's scrollbars'-style to touch
- Container auto-size to fixed-size elements only
- Cannot add a method to a button click event C# UWP
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
As you've know ComboBox.MaxDropDownItems Property is not available in UWP apps. The equivalent property in UWP is ComboBox.MaxDropDownHeight property. With this property, we can set the maximum height for a combo box drop-down. This value does not need to be precise.
ComboBoxwill automatically adjust the number of visible items according toMaxDropDownHeight. You can calculate an approximate value to achieve what yo want.