I have a grid using the Metro theme.
How can i fix dropdown filter so that the font, padding is smaller and the height of the popup taller?
Thank you for contacting Infragistics Forum.
I am investigating your inquiry and I'm afraid that it will take more time to give you a response.So it would be really appreciated if you could wait for a while.
Thank you in advance.
After investigating your inquiry and doing some research, changing size of padding, font, etc. in the filter dropdown of excel style filtering has been determined to be a product idea. You can suggest new product ideas for future versions (or vote for existing ones) at <https://www.infragistics.com/community/ideas>.
Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. You can also link back to this thread for additional details.
Thank you in advance to submitting your product idea.
Is there no way to force it with styles?
or at least just increase the height?
Anthony said:Is there no way to force it with styles?
Technically there could be, but it would be very hard to make possible.
The filter drop down is composed of various ui elements, including FieldMenuItem, search box and button, CheckBox, TreeViewItem, and others. You can see what element is used with Visual Tree spy utilities like Snoop.
You would need to identify what is used with such utilities and include default styles of every ui element and their dependencies from the following location to your application.C:\Program Files (x86)\Infragistics\2018.1\WPF\DefaultStyles\DataPresenter
And then, you might want to override padding, margin, font size and others to make them smaller, keeping them aligned.
Anthony said:or at least just increase the height?
The filter window is an instance of PopupResizerStackPanel and you can change the window height via PopupResizerStackPanel's Height property.As to how to access the instance of PopupResizerStackPanel, you can see it in the following forum thread.https://www.infragistics.com/community/forums/f/ultimate-ui-for-wpf/106713/xamdatagrid-filter-styles
Please note that PopupResizerStackPanel is also used as submenu window which pops up when you point at "Text Filters". Therefore, you would need to use a class boolean variable and set it true in RecordFilterDropDownOpening event handler to identify whether the instance of PopupResizerStackPanel for filter drop down or for submenu.
I hope this will help.