Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MAUI/Scheduler/context-menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ The `ContextMenuOpening` event can be used to prevent a context menu from being
ContextMenuOpening="scheduler_ContextMenuOpening">
</schedule:SfScheduler>
{% endhighlight %}
{% highlight c# tabtitle="C#" hl_lines="1 4" %}
{% highlight c# tabtitle="C#" hl_lines="1 3 5" %}
this.scheduler.ContextMenuOpening += scheduler_ContextMenuOpening

private void scheduler_ContextMenuOpening(object sender, SchedulerContextMenuOpeningEventArgs e)
Expand Down
2 changes: 1 addition & 1 deletion MAUI/Scheduler/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The `SchedulerRightTappedEventArgs` provides information about the right-click i
RightTapped="Scheduler_RightTapped" >
</scheduler:SfScheduler>
{% endhighlight %}
{% highlight c# tabtitle="MainPage.xaml.cs" hl_lines="1 3 5 6 7 8" %}
{% highlight c# tabtitle="MainPage.xaml.cs" hl_lines="1 3 5 6 7 8 9" %}
this.Scheduler.RightTapped += Scheduler_RightTapped;

private void scheduler_RightTapped(object sender, SchedulerRightTappedEventArgs e)
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 21 additions & 18 deletions MAUI/Scheduler/month-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ this.Content = scheduler;

## Non working days in month view

The scheduler allows you to define non-working days in the Month view using the `NonWorkingDays` property. This helps highlight weekends or specific days of the week as non-working, making it easier to distinguish them from working days. By default, no days are marked as non-working. The default value of `NonWorkingDays` property is SchedulerMonthWeekDays.None You can configure this property to include one or more days of the week.
The scheduler allows you to define non-working days in the Month view using the `NonWorkingDays` property. This helps highlight weekends or specific days of the week as non-working, making it easier to distinguish them from working days. By default, no days are marked as non-working. The default value of `NonWorkingDays` property is `SchedulerMonthWeekDays.None`. You can configure this property to include one or more days of the week.

{% tabs %}
{% highlight XAML tabtitle="xaml" hl_lines="4" %}
Expand All @@ -267,7 +267,7 @@ this.Content = scheduler;

### Show or Hide non working days in Month View

The `HideNonWorkingDays` property is used to control the visibility of non-working days in the MonthView. When `HideNonWorkingDays` is `false` (default), the specified non-working days are displayed in the MonthView. When `HideNonWorkingDays` is `true`, the specified non-working days are hidden from the MonthView.
The `HideNonWorkingDays` property is used to control the visibility of non-working days in the Month view. When `HideNonWorkingDays` is `false` (default), the specified non-working days are displayed in the MonthView. When `HideNonWorkingDays` is `true`, the specified non-working days are hidden from the MonthView.

{% tabs %}
{% highlight XAML tabtitle="xaml" hl_lines="4" %}
Expand Down Expand Up @@ -302,7 +302,7 @@ Non-working days in the MonthView can be customized using the `NonWorkingDaysBac
<scheduler:SchedulerMonthView.CellStyle>
<scheduler:SchedulerMonthCellStyle NonWorkingDaysBackground="Azure">
<scheduler:SchedulerMonthCellStyle.NonWorkingDaysTextStyle>
<scheduler:SchedulerTextStyle TextColor="Black" FontSize="12" />
<scheduler:SchedulerTextStyle TextColor="Black" FontSize="12" />
</scheduler:SchedulerMonthCellStyle.NonWorkingDaysTextStyle>
</scheduler:SchedulerMonthCellStyle>
</scheduler:SchedulerMonthView.CellStyle>
Expand All @@ -323,7 +323,7 @@ SchedulerTextStyle nonWorkTextStyle = new SchedulerTextStyle()

SchedulerMonthCellStyle monthCellStyle = new SchedulerMonthCellStyle()
{
NonWorkingDaysBackground = Brush.LightGrey,
NonWorkingDaysBackground = Brush.Azure,
NonWorkingDaysTextStyle = nonWorkTextStyle
};

Expand All @@ -336,7 +336,7 @@ this.Content = scheduler;

## Inline Appointments in Month View

Appointments can be displayed inline within the [Month](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerMonthView.html) view using the `ShowAppointmentsInline` property.When `ShowAppointmentsInline` is `false` (default), appointments are not shown inline in the MonthView. When `ShowAppointmentsInline` is `true`, tapping a date cell displays all appointments for that date inline below the tapped row. This provides a quick way to view daily schedules without switching to another view. Inline appointments are rendered in a collection view, allowing customization of styles such as background, text color, and layout.
Appointments can be displayed inline within the [Month](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerMonthView.html) view using the `ShowAppointmentsInline` property. When `ShowAppointmentsInline` is `false` (default), appointments are not shown inline in the MonthView. When `ShowAppointmentsInline` is `true`, tapping a date cell displays all appointments for that date inline below the tapped row. This provides a quick way to view daily schedules without switching to another view. Inline appointments are rendered in a collection view, allowing customization of styles such as background, text color, and layout.

{% tabs %}
{% highlight XAML tabtitle="xaml" hl_lines="4" %}
Expand Down Expand Up @@ -472,19 +472,20 @@ The `MonthInlineViewItemTemplate` property allows you to define a custom DataTem
<schedule:SchedulerMonthView ShowAppointmentsInline="True">
<schedule:SchedulerMonthView.MonthInlineViewItemTemplate>
<DataTemplate>
<Border Stroke="DarkBlue"
StrokeThickness="1"
Margin="2">
<StackLayout BackgroundColor="LightBlue"
Padding="5">
<Label Text="{Binding Subject}"
FontSize="14"
TextColor="Black"/>
<Label Text="{Binding StartTime, StringFormat='{}{0:hh:mm tt}'}"
FontSize="12"
TextColor="Black"/>
</StackLayout>
</Border>
<Grid BackgroundColor="MediumOrchid" Padding="8">
<HorizontalStackLayout HorizontalOptions="Center"
VerticalOptions="Center"
Spacing="6">
<Label Text="&#xE71D;"
FontFamily="MauiMaterialAssets"
TextColor="White"
VerticalOptions="Center"/>
<Label Text="{Binding Subject}"
TextColor="White"
FontFamily="Bold"
VerticalOptions="Center"/>
</HorizontalStackLayout>
</Grid>
</DataTemplate>
</schedule:SchedulerMonthView.MonthInlineViewItemTemplate>
</schedule:SchedulerMonthView>
Expand All @@ -493,6 +494,8 @@ The `MonthInlineViewItemTemplate` property allows you to define a custom DataTem
{% endhighlight %}
{% endtabs %}

![Inline-appointments-customization-in-month-view-using-date-template](images/month-view/customize-inline-appointment-view-using-data-template.png)

### MonthInlineAppointmentTapped

The `MonthInlineAppointmentTapped` event is raised when a user taps on an appointment displayed in the inline view of the scheduler’s [Month](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerMonthView.html) view.
Expand Down
2 changes: 1 addition & 1 deletion MAUI/Scheduler/resource-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ N> The BindingContext of the [DrawerResourceTemplate](https://help.syncfusion.co

## Visible Resource Count

The number of resources shown in the day, week, work week, timelineday, timelineweek, timelineworkweek views can be controlled using the [`VisibleResourceCount`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResourceView.html#Syncfusion_Maui_Scheduler_SchedulerResourceView_VisibleResourceCount) property of the [`SchedulerResourceView`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResourceView.html#Syncfusion_Maui_Scheduler_SchedulerResourceView_Resources) class. This lets you define how many resources are visible at a time.
The number of resources shown in the day, week, work week, month, timelineday, timelineweek, timelineworkweek views can be controlled using the [`VisibleResourceCount`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResourceView.html#Syncfusion_Maui_Scheduler_SchedulerResourceView_VisibleResourceCount) property of the [`SchedulerResourceView`](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResourceView.html#Syncfusion_Maui_Scheduler_SchedulerResourceView_Resources) class. This lets you define how many resources are visible at a time.

### Days View

Expand Down
2 changes: 1 addition & 1 deletion MAUI/Scheduler/timeline-views.md
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ This property is only applicable when the [View](https://help.syncfusion.com/cr/
{% tabs %}
{% highlight xaml tabtitle="XAML" hl_lines="4" %}
<scheduler:SfScheduler x:Name="scheduler"
View="TimelineMonth">
View="TimelineMonth">
<scheduler:SfScheduler.TimelineView>
<scheduler:SchedulerTimelineView ShowMonthTimeRegions="True"/>
</scheduler:SfScheduler.TimelineView>
Expand Down