我正在将 Telerik silverlight RadScheduler 与 Silverlight 一起使用。ViewDefinition 的“显示全天区域”属性似乎不起作用。我已在 ViewDefintion 中启用“ShowAllDayArea”以“真”它。约会中的“IsAllDayEvent”属性根据视图模型中的开始日期和结束日期进行检查。但是全天事件都没有显示在调度程序的顶部。有人可以帮忙吗?
产品版本
2014.3.1202.1050
Xaml 计划视图
<telerik:RadScheduleView
Name="radScheduleDetails"
NavigationHeaderVisibility="Collapsed"
ActiveViewDefinitionIndex="{Binding ActiveViewDefinitionIndex,Mode=TwoWay}"
DragVisualTemplate="{StaticResource DragVisualContentTemplate}"
DragDropHighlightStyle="{StaticResource CustomDragDropHighlightStyle}"
EditAppointmentDialogStyle="{StaticResource CustomEditAppointmentDialogStyle}"
ToolTipTemplate="{StaticResource AppointmentToolTipTemplate}"
AppointmentsSource="{Binding Appointments}"
SelectedAppointment="{Binding SelectedAppointment, Mode=TwoWay}"
AppointmentSelectionChanged="radScheduleDetails_AppointmentSelectionChanged"
AppointmentItemContentTemplate="{StaticResource templateCalAppointment}"
ShowDialog="RadScheduleDetails_OnShowDialog"
DialogClosing="RadScheduleDetails_OnDialogClosing"
AppointmentEdited="RadScheduleView_AppointmentEdited"
GroupDescriptionsSource="{Binding GroupDescriptions,Mode=TwoWay}"
ResourceTypesSource="{Binding ResourceTypes,Mode=TwoWay}"
VisibleRangeChangedCommand="{Binding VisibleDateRangeChanged}"
VisibleRangeChangedCommandParameter="{Binding VisibleRange,RelativeSource={RelativeSource Self}}"
CurrentDate="{Binding ViewCurrentDate,Mode=TwoWay}"
SpecialSlotsSource="{Binding WorkingHours}"
TimeRulerItemStyleSelector="{StaticResource TimeRulerItemStyleSelector}"
GroupHeaderStyleSelector="{StaticResource GroupHeaderItemSelector}"
MinTimeRulerExtent="600" MaxTimeRulerExtent="10000" FirstVisibleTime="07:30"
AppointmentEditing="radScheduleDetails_AppointmentEditing" >
<telerik:DayViewDefinition
x:Name="DayViewDefination"
EnableSmallAppointmentRendering="True"
ShowWeekGroupHeaders="False"
GroupFilter="{Binding GroupFilter}"
MinTimeRulerExtent="1600"
MaxTimeRulerExtent="1600"
MajorTickLength="1h"
MinorTickLength="30min"
ShowTimeRuler="True"
ShowAllDayArea="True"
/>