“Show All Day area”在Silverlight telerik RadScheduleView中不执行任何操作

时间:2015-03-11 10:28:28

标签: c# wpf silverlight telerik telerik-scheduler

我在Silverlight中使用Telerik silverlight RadScheduler。似乎"显示全天的区域" ViewDefinition的属性不起作用。我启用了" ShowAllDayArea"到"真"它在ViewDefintion中。" IsAllDayEvent"约会中的财产将根据查看模型中的开始日期和结束日期进行检查。但是整天的事件并没有显示在调度程序的顶部。可以对此进行任何帮助吗?

产品版本

2014.3.1202.1050

Xaml Schedule View

<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"
                                                />    

0 个答案:

没有答案