You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blazor/scheduler/dimensions.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,15 @@ documentation: ug
9
9
10
10
# Scheduler Dimensions in Blazor Scheduler Component
11
11
12
-
The Scheduler dimensions refers to both height and width of the entire layout and it accepts 3 types of values.
12
+
The dimensions of the Syncfusion Blazor Scheduler component, encompassing both height and width of its entire layout, can be defined using three types of values:
13
13
14
14
* auto
15
15
* pixel
16
16
* percentage
17
17
18
18
## Auto Height and Width
19
19
20
-
When height and width of the Scheduler are set to `auto`, it will try hard to keep an element the same width as its parent container. In other words, for the parent container that holds Scheduler, it's width or height will be the sum of its children. By default, Scheduler is assigned with `auto` values for both height and width properties.
20
+
When the height and width of the Scheduler are set to `auto`, the component attempts to match the width of its parent container. In this configuration, the parent container's width or height will be the cumulative size of its children. By default, the Scheduler component is assigned `auto` values for both its `Height`and `Width` properties.
21
21
22
22
```cshtml
23
23
@using Syncfusion.Blazor.Schedule
@@ -47,10 +47,11 @@ When height and width of the Scheduler are set to `auto`, it will try hard to ke
The Scheduler height and width will be rendered exactly as per the given pixel values. It accepts both string and number values.
54
+
The Scheduler's height and width render precisely according to the specified pixel values. Both string and number values are accepted for these properties.
54
55
55
56
```cshtml
56
57
@using Syncfusion.Blazor.Schedule
@@ -80,10 +81,13 @@ The Scheduler height and width will be rendered exactly as per the given pixel v

85
87
86
-
When height and width of the Scheduler are given as percentage, it will make the Scheduler as wide as the parent container.
88
+
## Height and Width in Percentage
89
+
90
+
When the height and width of the Scheduler are provided as percentage values, the component will expand to occupy the specified percentage of its parent container's dimensions.
87
91
88
92
```cshtml
89
93
@using Syncfusion.Blazor.Schedule
@@ -113,10 +117,11 @@ When height and width of the Scheduler are given as percentage, it will make the
When the height of the Scheduler is set in the CSS unit of Viewport Height(vh), it will make the Scheduler to occupy the full height within the viewport.
124
+
Setting the Scheduler's height using the CSS unit of Viewport Height(vh) allows the component to occupy the full height within the viewport.
120
125
121
126
In the following example, the application header height (4.6rem) is reduced from the total viewport.
122
127
@@ -148,5 +153,4 @@ In the following example, the application header height (4.6rem) is reduced from
148
153
}
149
154
}
150
155
```
151
-
152
156

Copy file name to clipboardExpand all lines: blazor/scheduler/events.md
+24-24Lines changed: 24 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,13 @@ documentation: ug
9
9
10
10
# Events in Blazor Scheduler Component
11
11
12
-
In this section, the list of events of the Scheduler component have been provided which will be triggered for appropriate Scheduler actions.
12
+
This section provides a list of events associated with the Scheduler component that trigger upon appropriate Scheduler actions.
13
13
14
14
The events should be provided to the Scheduler using **ScheduleEvents** tag. When using events of Scheduler, **TValue** must be provided in the **ScheduleEvents** tag.
15
15
16
16
## ActionCompleted
17
17
18
-
[`ActionCompleted`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_ActionCompleted) event triggers on successful completion of the Scheduler actions.
18
+
[`ActionCompleted`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_ActionCompleted) event triggers upon the successful completion of Scheduler actions.
19
19
20
20
The action type that can be checked within the [`ActionCompleted`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_ActionCompleted) event are as follows.
21
21
@@ -77,7 +77,7 @@ The action type that can be checked within the [`ActionCompleted`](https://help.
77
77
78
78
## Created
79
79
80
-
[`Created`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_Created) event triggers after the Scheduler component is created.
80
+
The [`Created`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_Created) event triggers after the Scheduler component is rendered.
81
81
82
82
```cshtml
83
83
@using Syncfusion.Blazor.Schedule
@@ -98,7 +98,7 @@ The action type that can be checked within the [`ActionCompleted`](https://help.
98
98
DateTime CurrentDate = new DateTime(2020, 3, 10);
99
99
public void OnCreated()
100
100
{
101
-
//Here you can customize your code
101
+
// Custom code can be implemented here.
102
102
}
103
103
List<AppointmentData> DataSource = new List<AppointmentData>
104
104
{
@@ -122,7 +122,7 @@ The action type that can be checked within the [`ActionCompleted`](https://help.
122
122
123
123
## DataBinding
124
124
125
-
[`DataBinding`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_DataBinding) event triggers before the data binds to the Scheduler.
125
+
The [`DataBinding`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_DataBinding) event triggers before data binds to the Scheduler.
126
126
127
127
```cshtml
128
128
@using Syncfusion.Blazor.Schedule
@@ -167,7 +167,7 @@ The action type that can be checked within the [`ActionCompleted`](https://help.
167
167
168
168
## DataBound
169
169
170
-
[`DataBound`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_DataBound) event triggers once the event data is bound to the Scheduler.
170
+
The [`DataBound`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_DataBound) event triggers once event data is bound to the Scheduler.
171
171
172
172
```cshtml
173
173
@using Syncfusion.Blazor.Schedule
@@ -213,7 +213,7 @@ The action type that can be checked within the [`ActionCompleted`](https://help.
213
213
214
214
## Destroyed
215
215
216
-
[`Destroyed`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_Destroyed) event triggers when the Scheduler component is destroyed.
216
+
The [`Destroyed`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_Destroyed) event triggers when the Scheduler component is destroyed.
217
217
218
218
```cshtml
219
219
@using Syncfusion.Blazor.Schedule
@@ -234,7 +234,7 @@ The action type that can be checked within the [`ActionCompleted`](https://help.
234
234
DateTime CurrentDate = new DateTime(2020, 3, 10);
235
235
public void OnDestroyed()
236
236
{
237
-
//Here you can customize your code
237
+
// Custom code can be implemented here.
238
238
}
239
239
List<AppointmentData> DataSource = new List<AppointmentData>
240
240
{
@@ -258,7 +258,7 @@ The action type that can be checked within the [`ActionCompleted`](https://help.
258
258
259
259
## Dragged
260
260
261
-
[`Dragged`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_Dragged) event triggers when the dragging of appointment is stopped.
261
+
[`Dragged`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_Dragged) event triggers when appointment dragging is stopped.
262
262
263
263
```cshtml
264
264
@using Syncfusion.Blazor.Schedule
@@ -304,7 +304,7 @@ The action type that can be checked within the [`ActionCompleted`](https://help.
304
304
305
305
## EventRendered
306
306
307
-
[`EventRendered`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_EventRendered) event triggers before each of the event getting rendered on the Scheduler user interface.
307
+
The [`EventRendered`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_EventRendered) event triggers before each event is rendered on the Scheduler user interface.
308
308
309
309
```cshtml
310
310
@using Syncfusion.Blazor.Schedule
@@ -358,7 +358,7 @@ The action type that can be checked within the [`ActionCompleted`](https://help.
358
358
359
359
## MoreEventsClicked
360
360
361
-
[`MoreEventsClicked`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_MoreEventsClicked) event triggers when the more events indicator are clicked.
361
+
The [`MoreEventsClicked`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_MoreEventsClicked) event triggers when the "more events" indicator is clicked.
362
362
363
363
```cshtml
364
364
@using Syncfusion.Blazor.Schedule
@@ -406,7 +406,7 @@ The action type that can be checked within the [`ActionCompleted`](https://help.
406
406
407
407
## Navigating
408
408
409
-
[`Navigating`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_Navigating) event triggers before the date or view navigation takes place on Scheduler.
409
+
[`Navigating`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_Navigating) event triggers before date or view navigation occurs in the Scheduler.
410
410
411
411
```cshtml
412
412
@using Syncfusion.Blazor.Schedule
@@ -453,9 +453,9 @@ The action type that can be checked within the [`ActionCompleted`](https://help.
453
453
454
454
## OnActionBegin
455
455
456
-
[`OnActionBegin`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnActionBegin) event triggers on beginning of every Scheduler action.
456
+
[`OnActionBegin`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnActionBegin) event triggers at the beginning of every Scheduler action.
457
457
458
-
The request type that can be checked within the [`OnActionBegin`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnActionBegin) event are as follows.
458
+
The `ActionType` that can be checked within the [`OnActionBegin`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnActionBegin) event are as follows.
459
459
460
460
| ActionType | Description |
461
461
|------|-------------|
@@ -513,7 +513,7 @@ The request type that can be checked within the [`OnActionBegin`](https://help.s
513
513
514
514
## OnActionFailure
515
515
516
-
[`OnActionFailure`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnActionFailure) event triggers when a Scheduler action gets failed or interrupted.
516
+
[`OnActionFailure`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnActionFailure) event triggers when a Scheduler action fails or is interrupted.
517
517
518
518
```cshtml
519
519
@using Syncfusion.Blazor.Schedule
@@ -558,7 +558,7 @@ The request type that can be checked within the [`OnActionBegin`](https://help.s
558
558
559
559
## OnCellClick
560
560
561
-
[`OnCellClick`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnCellClick) event triggers when the Scheduler cells are singleclicked or on single tap on the same cells in mobile devices.
561
+
[`OnCellClick`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnCellClick) event triggers when Scheduler cells are single-clicked or upon single-tapping the same cells on mobile devices.
562
562
563
563
```cshtml
564
564
@using Syncfusion.Blazor.Schedule
@@ -695,7 +695,7 @@ The request type that can be checked within the [`OnActionBegin`](https://help.s
695
695
696
696
## OnEventClick
697
697
698
-
[`OnEventClick`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnEventClick) event triggers when the events are singleclicked or on singletapping the events on the mobile devices.
698
+
[`OnEventClick`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnEventClick) event triggers when an event is single-clicked or upon single-tapping an event on mobile devices.
699
699
700
700
```cshtml
701
701
@using Syncfusion.Blazor.Schedule
@@ -742,7 +742,7 @@ The request type that can be checked within the [`OnActionBegin`](https://help.s
742
742
743
743
## OnEventDoubleClick
744
744
745
-
[`OnEventDoubleClick`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnEventDoubleClick) event triggers when the events are doubleclicked.
745
+
[`OnEventDoubleClick`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnEventDoubleClick) event triggers when an event is double-clicked.
746
746
747
747
```cshtml
748
748
@using Syncfusion.Blazor.Schedule
@@ -790,9 +790,9 @@ The request type that can be checked within the [`OnActionBegin`](https://help.s
790
790
791
791
## OnPopupClose
792
792
793
-
[`OnPopupClose`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnPopupClose) event triggers before any of the Scheduler popups close on the page.
793
+
[`OnPopupClose`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnPopupClose) event triggers before any Scheduler popups close on the page.
794
794
795
-
In case, if you need to prevent only specific popups on Scheduler, then you can check the condition based on the popup type. The types of the popup that can be checked within the [`OnPopupClose`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnPopupClose) event are as follows.
795
+
To prevent only specific popups in the Scheduler, the condition can be checked based on the popup type. The `PopupType` values that can be checked within the [`OnPopupClose`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnPopupClose) event are as follows.
796
796
797
797
| PopupType | Description |
798
798
|------|-------------|
@@ -852,9 +852,9 @@ In case, if you need to prevent only specific popups on Scheduler, then you can
852
852
853
853
## OnPopupOpen
854
854
855
-
[`OnPopupOpen`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnPopupOpen) event triggers before any of the Scheduler popups opens on the page.
855
+
[`OnPopupOpen`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnPopupOpen) event triggers before any Scheduler popups open on the page.
856
856
857
-
In case, if you need to prevent only specific popups on Scheduler, then you can check the condition based on the popup type. The types of the popup that can be checked within the [`OnPopupOpen`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnPopupOpen) event are as follows.
857
+
To prevent only specific popups in the Scheduler, the condition can be checked based on the popup type. The `PopupType` values that can be checked within the [`OnPopupOpen`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnPopupOpen) event are as follows.
858
858
859
859
| PopupType | Description |
860
860
|------|-------------|
@@ -914,7 +914,7 @@ In case, if you need to prevent only specific popups on Scheduler, then you can
914
914
915
915
## OnRenderCell
916
916
917
-
[`OnRenderCell`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnRenderCell) event triggers before each element of the Schedule rendering on the page.
917
+
[`OnRenderCell`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnRenderCell) event triggers before each element of the Scheduler renders on the page.
918
918
919
919
The ElementType that can be checked within the [`OnRenderCell`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnRenderCell) event are as follows.
920
920
@@ -983,7 +983,7 @@ The ElementType that can be checked within the [`OnRenderCell`](https://help.syn
983
983
984
984
## OnResizeStart
985
985
986
-
[`OnResizeStart`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnResizeStart) event triggers when an appointment is started to resize.
986
+
[`OnResizeStart`](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Schedule.ScheduleEvents-1.html#Syncfusion_Blazor_Schedule_ScheduleEvents_1_OnResizeStart) event triggers when an appointment begins to be resized.
0 commit comments