RadNavigationView Popup colors

1 Answer 30 Views
NavigationView
Clint
Top achievements
Rank 1
Iron
Iron
Iron
Clint asked on 31 Oct 2024, 03:54 PM

When RadNavigationView is in Compact mode, I'd like to change the background color of the popup that displays the subpages of a main element. I thought the setting radNavigationView1.NavigationViewElement.Popup.BackColor would do it, but this changes nothing.

Where are the settings to change colors and fonts for the popup?

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 04 Nov 2024, 11:12 AM

Hi, Clint,

To achieve this you should access the RadPageViewNavigationViewItem in the ItemPopuoOpenning event as follows:

private void RadNavigationView1_ItemPopupOpening(object sender, CancelEventArgs e)
{
    RadPageViewNavigationViewItem item = sender as RadPageViewNavigationViewItem;
    if (item.Text == "Inbox") 
    {
        item.Popup.BackColor = Color.Red;
    }
}

I hope this helps. If you have any other questions do not hesitate to contact me.

Regards,
Nadya | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
NavigationView
Asked by
Clint
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or