Skip to content

Commit 482297e

Browse files
Merge pull request #3895 from syncfusion-content/997029-Vol4-Scheduler
997029 : UG Empty issue for MAUI Scheduler and Smart Scheduler
2 parents f048728 + fcc4cdf commit 482297e

17 files changed

+23
-887
lines changed
4.5 KB
Loading
30.6 KB
Loading
5.36 KB
Loading
-42.2 KB
Loading
-40.7 KB
Loading
-52.3 KB
Loading
-45.3 KB
Loading
9.85 KB
Loading

MAUI/Scheduler/month-view.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,17 +114,17 @@ this.Scheduler.MonthView.AppointmentIndicatorSize = 10;
114114
The scheduler month view allows you to customize the appointment indicator rendering mode by using the `AppointmentIndicatorRenderMode` property of the [MonthView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerMonthView.html). The `AppointmentIndicatorRenderMode` property supports three different types: `Fill`, `Stroke` and `FillAndStroke`. By default, the `AppointmentIndicatorRenderMode` is set to Fill.
115115

116116
{% tabs %}
117-
{% highlight XAML hl_lines="5" %}
117+
{% highlight XAML hl_lines="4" %}
118118

119119
<schedule:SfScheduler x:Name="Scheduler"
120120
View="Month" >
121121
<schedule:SfScheduler.MonthView>
122-
<schedule:SchedulerMonthView AppointmentDisplayMode="Indicator" AppointmentIndicatorSize="15" AppointmentIndicatorCount="2" AppointmentIndicatorRenderMode="Stroke"/>
122+
<schedule:SchedulerMonthView AppointmentIndicatorRenderMode="Stroke" AppointmentDisplayMode="Indicator" AppointmentIndicatorSize="15" AppointmentIndicatorCount="2" />
123123
</schedule:SfScheduler.MonthView>
124124
</schedule:SfScheduler>
125125

126126
{% endhighlight %}
127-
{% highlight C# hl_lines="4" %}
127+
{% highlight C# hl_lines="3" %}
128128

129129
this.Scheduler.View = SchedulerView.Month;
130130
this.Scheduler.MonthView.AppointmentDisplayMode = SchedulerMonthAppointmentDisplayMode.Indicator;
@@ -142,17 +142,17 @@ this.Scheduler.MonthView.AppointmentIndicatorCount = 2;
142142
The scheduler month view allows you to customize the appointment indicator stroke thickness by using the `AppointmentIndicatorStrokeThickness` property of the [MonthView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerMonthView.html). By default, the `AppointmentIndicatorStrokeThickness` is set to 1d.
143143

144144
{% tabs %}
145-
{% highlight XAML hl_lines="5" %}
145+
{% highlight XAML hl_lines="4" %}
146146

147147
<schedule:SfScheduler x:Name="Scheduler"
148148
View="Month" >
149149
<schedule:SfScheduler.MonthView>
150-
<schedule:SchedulerMonthView AppointmentDisplayMode="Indicator" AppointmentIndicatorSize="20" AppointmentIndicatorRenderMode="Stroke" AppointmentIndicatorStrokeThickness="4"/>
150+
<schedule:SchedulerMonthView AppointmentIndicatorStrokeThickness="4" AppointmentDisplayMode="Indicator" AppointmentIndicatorSize="20" AppointmentIndicatorRenderMode="Stroke" />
151151
</schedule:SfScheduler.MonthView>
152152
</schedule:SfScheduler>
153153

154154
{% endhighlight %}
155-
{% highlight C# hl_lines="6" %}
155+
{% highlight C# hl_lines="5" %}
156156

157157
this.Scheduler.View = SchedulerView.Month;
158158
this.Scheduler.MonthView.AppointmentDisplayMode = SchedulerMonthAppointmentDisplayMode.Indicator;

MAUI/Scheduler/resource-view.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The [.NET MAUI Scheduler](https://www.syncfusion.com/maui-controls/maui-schedule
1414
## Create resources to Scheduler by using SchedulerResource
1515
You can create a resource view by setting the [Name](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResource.html#Syncfusion_Maui_Scheduler_SchedulerResource_Name), [Id](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResource.html#Syncfusion_Maui_Scheduler_SchedulerResource_Id), [Background](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResource.html#Syncfusion_Maui_Scheduler_SchedulerResource_Background), and [Foreground](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResource.html#Syncfusion_Maui_Scheduler_SchedulerResource_Foreground) and [DataItem](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResource.html#Syncfusion_Maui_Scheduler_SchedulerResource_Foreground) properties of the built-in [SchedulerResource](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResource.html) class and assign `SchedulerResource` collection to the scheduler by using the [Resources](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResourceView.html#Syncfusion_Maui_Scheduler_SchedulerResourceView_Resources) property of the [SchedulerResourceView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResourceView.html?tabs=tabid-13%2Ctabid-6) class.
1616

17-
In the **Day**, **Week** and **Work Week** views, resources are displayed **horizontally**, whereas in the **Timeline views** (Timeline Day, Timeline Week, Timeline Work Week and Timeline Month), resources are displayed **vertically**.
17+
In the **Day**, **Week** and **Work Week** views, resources are displayed **horizontally** on desktop platforms and under an **adaptive header** on mobile platforms. In the **Timeline views** (Timeline Day, Timeline Week, Timeline Work Week and Timeline Month), resources are displayed **vertically**.
1818

1919
{% tabs %}
2020
{% highlight xaml tabtitle="MainPage.xaml" hl_lines="3" %}
@@ -38,8 +38,6 @@ this.Scheduler.ResourceView.Resources = Resources;
3838
{% endhighlight %}
3939
{% endtabs %}
4040

41-
N> The horizontal display of resources in the **Day**, **Week**, and **Work Week** views is supported only on .NET MAUI desktop platforms (**Windows** and **macOS**).
42-
4341
### Assigning Scheduler resources to appointments
4442

4543
Appointments associated with the `ResourceView` [Resources](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResourceView.html#Syncfusion_Maui_Scheduler_SchedulerResourceView_Resources), will be displayed by setting the `SchedulerResourceView` resource Id in the [SchedulerAppointment](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerAppointment.html) by using the [ResourceIds](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerRegionBase.html#Syncfusion_Maui_Scheduler_SchedulerRegionBase_ResourceIds).
@@ -176,8 +174,6 @@ this.Scheduler.ResourceView.ResourceGroupType = SchedulerResourceGroupType.Date;
176174

177175
In Mobile platforms, the resource view for the day, week, and work week view where grouped under an adaptive header.
178176

179-
N> The adaptive header display of resources in the **Day**, **Week**, and **Work Week** views is supported only on .NET MAUI mobile platforms (**Android** and **iOS**).
180-
181177
### Customize hamburger icon color
182178

183179
The hamburger icon color can be customized by using the `HamburgerIconColor` property of the [SchedulerResourceView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResourceView.html?tabs=tabid-13%2Ctabid-6).
@@ -213,7 +209,7 @@ this.Scheduler.ResourceView.HamburgerIconColor = Colors.Red;
213209
The drawer resource selection color can be customized by using the `DrawerResourceSelectionColor` property of the [SchedulerResourceView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResourceView.html?tabs=tabid-13%2Ctabid-6).
214210

215211
{% tabs %}
216-
{% highlight XAML hl_lines="4" %}
212+
{% highlight XAML hl_lines="3" %}
217213

218214
<syncfusion:SfScheduler x:Name="Scheduler" View="Day">
219215
<syncfusion:SfScheduler.ResourceView>
@@ -243,7 +239,7 @@ this.Scheduler.ResourceView.DrawerResourceSelectionColor = Brush.DodgerBlue;
243239
The drawer background can be customized by using the `DrawerBackground` property of the [SchedulerResourceView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResourceView.html?tabs=tabid-13%2Ctabid-6).
244240

245241
{% tabs %}
246-
{% highlight XAML hl_lines="4" %}
242+
{% highlight XAML hl_lines="3" %}
247243

248244
<syncfusion:SfScheduler x:Name="Scheduler" View="Day">
249245
<syncfusion:SfScheduler.ResourceView>
@@ -370,7 +366,6 @@ private void OnTapped(object sender, TappedEventArgs e)
370366
![customize-adapter-header-template-in-maui-scheduler](images/resource-view/customize-adapter-header-template-in-maui-scheduler.png)
371367

372368
N>
373-
374369
* The BindingContext of the `AdaptiveHeaderTemplate` is the `SchedulerAdaptiveResource.`
375370
* The `ToggleResourceDrawerView` method should be called on the `SchedulerAdaptiveResource` instance obtained from the control’s BindingContext. It toggles the visibility of the drawer resource view. It is used only when the `AdaptiveHeaderTemplate` is applied.
376371

@@ -428,7 +423,7 @@ this.scheduler.ResourceView.Resources = Resources;
428423

429424
![customize-drawer-resource-template-in-maui-scheduler](images/resource-view/customize-drawer-resource-template-in-maui-scheduler.png)
430425

431-
N> The BindingContext of the `DrawerResourceTemplate` is the [SchedulerResource.](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResource.html) and the custom data object can be bound in `DrawerResourceTemplate` by using `SchedulerResource.DataItem`.
426+
N> The BindingContext of the `DrawerResourceTemplate` is the [SchedulerResource.](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Scheduler.SchedulerResource.html) and the custom data object can be bound in `DrawerResourceTemplate` by using `SchedulerResource.DataItem` .
432427

433428
## Visible Resource Count
434429

0 commit comments

Comments
 (0)