I added a dropdownbutton and attached it to a PopupMenuTool to show options on click. Everything is fine except that the button does not actually look like a button. If I hover my mouse then it shows as a button else its just flat like a label. Attached Image. I selected the Style as DropDownButtonOnly, ShowOutline=False, UseAppStyling = False.
Hello,
I am just checking about the progress of this issue. Let me know if you need my further assistance on this issue.
Thank you for using Infragistics Components.
Hi,
Thank you for posting in our forums.
This button will display solid borders, only if the following conditions are met:
- The button is a default button on the form (i.e. it is the AcceptButton or the CancelButton of the form).
- ShowOutlines property is set to true
- Themes are disabled (for example, UseOSThemes is set to false)
Otherwise the button shows no borders.
If you want to control the borders of the control, without fulfilling all the previous conditions, you could use the DrawFilter interface. In it simply return the BeforeDrawBorders phase of the DropDownButtonControlUIElement and then use the DrawBorders method of the drawParams. For more information about the DrawFilter interface, please follow this link:
http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/HTML/Win_Draw_Filter.html
I have attached a sample which demonstrates this suggestion.
Please let me know if you have any additional questions.