wpf-devexpress-dot-xpf-dot-gantt-4487cf68.md
Represents the daily recurrence.
Namespace : DevExpress.Xpf.Gantt
Assembly : DevExpress.Xpf.Gantt.v25.2.dll
NuGet Package : DevExpress.Wpf.Gantt
public sealed class Daily :
DayBasedRecurrence
Public NotInheritable Class Daily
Inherits DayBasedRecurrence
Use the Daily object to define that the rule reoccurs on a daily basis.
<dxgn:GanttControl ItemsSource="{Binding Tasks}">
<dxgn:GanttControl.View>
<dxgn:GanttView
NonworkingDayDisplayMode="Show"
NonworkingTimeDisplayMode="Show">
<dxgn:GanttView.WorkingTimeRules>
<!-- The rule's recurrence is set to Daily -->
<dxgn:WorkingTimeRule Recurrence="{dxgn:Daily}" WorkingTime="9:0:0-13:0:0, 14:0:0-18:0:0" />
<dxgn:WorkingTimeRule Recurrence="{dxgn:Weekly DayOfWeek=Thursday}" WorkingTime="9:0:0-13:0:0, 14:0:0-17:0:0" />
</dxgn:GanttView.WorkingTimeRules>
<dxgn:GanttView.WorkdayRules>
<dxgn:WorkdayRule IsWorkday="True" Recurrence="{dxgn:Weekly DayOfWeek=Sunday}" />
<dxgn:WorkdayRule IsWorkday="False" Recurrence="{dxgn:Weekly DayOfWeek=Friday}" />
<dxgn:WorkdayRule IsWorkday="False" Recurrence="{dxgn:Weekly DayOfWeek=Saturday}" />
<dxgn:WorkdayRule IsWorkday="False" Recurrence="{dxgn:YearlyByDayOfWeek Month=11, DayOfWeek=Thursday, Week=4}" />
<dxgn:WorkdayRule IsWorkday="False">
<dxgn:SpecificDays Days="{x:Static local:CustomizeWorkingTime.Holidays}" />
</dxgn:WorkdayRule>
</dxgn:GanttView.WorkdayRules>
</dxgn:GanttView>
</dxgn:GanttControl.View>
</dxgn:GanttControl>
Object DispatcherObject DependencyObject Freezable RecurrenceBase Recurrence DevExpress.Xpf.Gantt.DayBasedRecurrence Daily
See Also