Can someone please show me how to edit the border and background colors of the DesktopAlert Context Menu that appears when the "Options" button is clicked?
Thank you!
-Curtis
1 Answer, 1 is accepted
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 25 Jan 2018, 12:52 PM
Hello, Curtis,
Thank you for writing.
Here is a sample code snippet demonstrating how to customize the border and fill color for the options menu in RadDesktopAlert:
RadDropDownMenuElement menuElement = this.radDesktopAlert1.Popup.AlertElement.CaptionElement.TextAndButtonsElement.OptionsButton.DropDownMenu.PopupElement as RadDropDownMenuElement;
menuElement.Border.ForeColor = Color.Red;
menuElement.Fill.BackColor = Color.Yellow;
I hope this information helps. Should you have further questions I would be glad to help.