To achieve the wanted result, you could subscribe to the Loaded event of the RadScheduleView control, and utilizing the ChildrenOfType extension method, get the Border element with x:Name="NavigationHeader". On the returned Border control, you could set its Background property to the desired value. The following code snippet shows the Loaded event's implementation, to target the specified Border element and modify its background color:
privatevoidRadScheduleView_Loaded(object sender, RoutedEventArgs e)
{
var scheduleView = (RadScheduleView)sender;
var navigationBorder = scheduleView.ChildrenOfType<Border>().FirstOrDefault(x => x.Name == "NavigationHeader");
if (navigationBorder != null)
{
navigationBorder.Background = Brushes.Red;
}
}
The result when the control loads, is as follows:
With that said, I hope the provided information is of help to you.
Regards,
Stenly
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.