This is a migrated thread and some comments may be shown as answers.

Border and Background Color of Context Menu

1 Answer 592 Views
DesktopAlert
This is a migrated thread and some comments may be shown as answers.
Curtis
Top achievements
Rank 1
Iron
Iron
Veteran
Curtis asked on 24 Jan 2018, 09:17 PM

Hello again folks.

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

Sort by
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. 
 
 Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
DesktopAlert
Asked by
Curtis
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or