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

Custom grouping in TimelineViewDefinition problem

1 Answer 38 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Jacky
Top achievements
Rank 1
Jacky asked on 12 Mar 2018, 05:26 PM

I tried to define two resources groups in TimelineViewDefinition. it is similar like TVs and Programmes in sample. But it give a error message said:  cannot derive from sealed type 'TimelineViewDefinition' 

 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 15 Mar 2018, 01:27 PM
Hello Jacky,

As the TimeLineViewDefinition is a sealed class it cannot be inherited. This is the by-design implementation of the control. In case when custom ViewDefinitions need to be implemented, the ViewDefinitionBase can be inherited or MultidayViewDefinition in your case in particular. Would such an approach be working for you?

Regards,
Stefan
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
ScheduleView
Asked by
Jacky
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or