Current filter:
                                You should refresh the page.
                                  • Hi There,
                                                   In my project, we want a combo box with button like Visual studio " Start button".
                                            The button will have a down arrow . on click of that the other options will be displayed.
                                            Each of the drop down item is a button.
                                            Please have a look at the screenshot.

                                             I was looking for a suitable control but could not find a exactly what I need.

                                             Any suggestion? Sample project will be wonderful.

                                            Thanks.

                                1 Solution

                                Creation Date Importance Sort by

                                Hello Sabur,

                                ComboBoxEdit is an editor, while this item in Visual Studio is a menu item that can display sub items. I recommend that you try our BarSplitButtonItem and check if its operation is what you are looking for.

                                See also: Bars.

                                Thanks,
                                Andrey

                                Show all comments
                                • Sabur Aziz 10.10.2019

                                  Thanks Andrey,
                                  Yeah.. Thats what I was looking for.

                                  1. How to make the background transparent?
                                  I tried with this answer.. but it is not working..
                                  https://www.devexpress.com/Support/Center/Question/Details/T201525/backrgound-for-toolbarcontrol

                                  2. How to resize the image ?
                                      If i set Glyph="image source"  then the image is too small.
                                      If I set LargeGlyph =" image source" , it is too large.
                                      is there nay way to set image size?
                                  Thanks.

                                • André (DevExpress Support) 10.10.2019

                                  Hello,

                                  Would you please clarify what element you want to make transparent? It would be great if you can indicate it in a screenshot.

                                  As for specifying the glyph size, set the BarSplitButtonItem.GlyphSize property to Custom and assign your size to the BarSplitButtonItem.CustomGlyphSize property.

                                • Sabur Aziz 10.10.2019

                                  Hi,
                                  I am trying to make the background of below control from your sample project using the solution provided here

                                  https://www.devexpress.com/Support/Center/Question/Details/T201525/backrgound-for-toolbarcontrol

                                  <dxb:BarContainerControl Grid.Column="1"
                                                                           Background="WhiteSmoke"
                                                                           dx:ThemeManager.ThemeName="Office2016White"
                                                                           >
                                  Thanks.

                                • Ivan (DevExpress Support) 10.10.2019

                                  Hi Sabur,

                                  Standalone Bar Controls allow you to accomplish this task by setting a single property - ShowBackground. If you set it to false, your bar will be transparent. After that, you can show a border below your bar and specify any background brush there. Attached is a simple sample where you can see this approach. Please try it on your side and let me know your results.

                                • Sabur Aziz 10.10.2019

                                  Hi Ivan,
                                                I tried with that but it is not giving me the result.
                                  Here (Attachment) is the sample project. I am using the example project of BarSplitbutton of DevExpress.

                                • Sabur Aziz 10.10.2019

                                  Here is the image of the output where I mentioned which image I want to make it transparent.

                                • Andrey Marten (DevExpress Support) 10.11.2019

                                  In that example, ToolbarControl is declared in BarContainerControl. However, it's possible not to place ToolbarControl in this container: BarContainerControl. Try declaring your ToolbarControl this way and check if this helps.

                                  Thanks,
                                  Andrey