Current filter:
                                You should refresh the page.
                                  • I can't find any settings that allow me to change the font size of the circled items in my attached screenshot. Where are these settings?

                                1 Solution

                                Creation Date Importance Sort by

                                Hello,
                                At present, the SearchLookUpEdit does not provide the capability to change popup element appearance. However, you can resolve this task by getting the required controls from the SearchLookUpEdit's popup form and then setting the required appearance as follows:

                                [VB.NET]
                                Imports DevExpress.Utils.Win Imports DevExpress.XtraEditors Imports DevExpress.XtraLayout ... Private Sub searchLookUpEdit1_Popup(ByVal sender As Object, ByVal e As EventArgs) Dim lc As LayoutControl = TryCast((TryCast(sender, DevExpress.Utils.Win.IPopupControl)).PopupWindow.Controls(2).Controls(0), LayoutControl) TryCast(lc.Controls(6), SimpleButton).Appearance.Font = New Font("Arial", 12, FontStyle.Italic) TryCast(lc.Controls(7), TextEdit).Properties.Appearance.Font = New Font("Tahoma", 18) TryCast(lc.Controls(8), SimpleButton).Appearance.Font = New Font("Calibri", 24, FontStyle.Bold) End Sub

                                Additionally, you can use the approach described in the How to change the font of all DevExpress controls? ticket to specify a font for all DX controls.
                                Please try this and let me know your result.

                                • Keith Hicks 09.18.2015

                                  Okay. Thanks. What reference for "IPopupControl"?
                                  (by the way, it would be super helpful when you guys give us code to use if you would make clear what Imports statement to use when it's not super obvious. you all know these tools way better than most of us do)

                                • Olgerd (DevExpress Support) 09.18.2015

                                  Hello,
                                  Thank you for the reply. I have updated my answer, please check it.
                                  The IPopupControl is an internal interface, which is not described in our documentation. All our popup editors implement this interface. In my example, it is used to obtain a corresponding popup window.

                                • Alessandro Soli 09.18.2019

                                  Hello,
                                  are there any news using the current DevExpress version (19.1) about setting font size of items belonging to SearchLookUpEdit in a column grid?
                                  I tried the piece of code in "RepositoryItemSearchLookUpEdit1_Popup","RepositoryItemSearchLookUpEdit1_BeforePopup" but it doesn't work.
                                  If I use this:
                                  RepositoryItemSearchLookUpEdit1.Appearance.Font = New Font("Arial", 14)
                                  inside the event "RepositoryItemSearchLookUpEdit1_BeforePopup"
                                  It changes the current cell font, but not the element list font.
                                  Can you help me?

                                • Alessandro Soli 09.18.2019

                                  Hi,
                                  I found column "PopupView" properties.
                                  That's ok.