Skip to content

Commit 00769f9

Browse files
Merge pull request #1009 from syncfusion-content/Update_missed_changes
929457 - Updated missed changes in Scheduler Xaml controls
2 parents aa42e5d + 212a093 commit 00769f9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

winui/Scheduler/Month-View.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -262,15 +262,16 @@ this.Schedule.MonthViewSettings.TrailingDaysVisibility = Visibility.Collapsed;
262262

263263
## Change the number of visible weeks
264264

265-
The number of weeks visible in the month view can be changed by setting the `NumberOfVisibleWeeks` property of [MonthViewSettings](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Scheduler.MonthViewSettings.html) in the [SfScheduler](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Scheduler.SfScheduler.html). By default, 6 weeks are visible.
265+
The number of weeks visible in the month view can be changed by setting the [`NumberOfVisibleWeeks`](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Scheduler.MonthViewSettings.html#Syncfusion_UI_Xaml_Scheduler_MonthViewSettings_NumberOfVisibleWeeks) property of [MonthViewSettings](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Scheduler.MonthViewSettings.html) in the [SfScheduler](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Scheduler.SfScheduler.html). By default, 6 weeks are visible.
266266

267267
{% tabs %}
268268
{% highlight xaml tabtitle="MainWindow.xaml" hl_lines="4" %}
269269

270270
<scheduler:SfScheduler x:Name="Schedule"
271271
ViewType="Month">
272272
<scheduler:SfScheduler.MonthViewSettings>
273-
<scheduler:MonthViewSetting NumberOfVisibleWeeks="3"/>
273+
<scheduler:MonthViewSetting NumberOfVisibleWeeks="3"
274+
ShowAgendaView="True"/>
274275
</scheduler:SfScheduler.MonthViewSettings>
275276
</scheduler:SfScheduler>
276277

@@ -279,15 +280,16 @@ The number of weeks visible in the month view can be changed by setting the `Num
279280

280281
this.Schedule.ViewType = SchedulerViewType.Month;
281282
this.Schedule.MonthViewSettings.NumberOfVisibleWeeks = 3;
283+
this.Schedule.MonthViewSettings.ShowAgendaView = true;
282284

283285
{% endhighlight %}
284286
{% endtabs %}
285287

286-
![Number-of-visible-weeks-in-month-view-in-WinUI-Scheduler](Month-View_Imges/number-of-visible-weeks-in-month-view-in-winui-scheduler.webp){:width="540" height="290"}
288+
![Number-of-visible-weeks-in-month-view-in-WinUI-Scheduler](Month-View_Imges/number-of-visible-weeks-in-month-view-in-winui-scheduler.webp)
287289

288290
N>
289-
* The week number range is limited to values between 1 and 6. Any value outside this range will cause the `NumberOfVisibleWeeks` to default to 6.
290-
* The `NumberOfVisibleWeeks` property dynamically controls the number of weeks displayed in the scheduler's month view.
291+
* The week number range is limited to values between 1 and 6. Any value outside this range will cause the [NumberOfVisibleWeeks](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Scheduler.MonthViewSettings.html#Syncfusion_UI_Xaml_Scheduler_MonthViewSettings_NumberOfVisibleWeeks) to default to 6.
292+
* The [NumberOfVisibleWeeks](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Scheduler.MonthViewSettings.html#Syncfusion_UI_Xaml_Scheduler_MonthViewSettings_NumberOfVisibleWeeks) property dynamically controls the number of weeks displayed in the scheduler's month view.
291293
* The [DisplayDate](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Scheduler.SfScheduler.html#Syncfusion_UI_Xaml_Scheduler_SfScheduler_DisplayDate) property defines the first row of dates shown in the scheduler's month view.
292294
* The [LeadingDaysVisibility](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Scheduler.MonthViewSettings.html#Syncfusion_UI_Xaml_Scheduler_MonthViewSettings_LeadingDaysVisibility) and [TrailingDaysVisibility](https://help.syncfusion.com/cr/winui/Syncfusion.UI.Xaml.Scheduler.MonthViewSettings.html#Syncfusion_UI_Xaml_Scheduler_MonthViewSettings_TrailingDaysVisibility) properties are applicable only when the number of visible weeks is set to 6.
293295

0 commit comments

Comments
 (0)