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
The `Checklist` feature lets you create interactive task lists with clickable checkboxes. You can configure checkbox behavior, customize the visual appearance, manage item states, and enable keyboard interactions. This makes it perfect for project management, note-taking, and task tracking within your content. You can easily toggle between checked and unchecked states, giving you an intuitive way to manage the completion status of your list items—making it a simple and effective to-do list solution.
465
+
466
+
#### Inserting a checklist
467
+
You can embed interactive task lists directly within the Rich Text Editor. Here’s how you can insert a checklist:
468
+
-**Using the toolbar**: Click the checklist button in the editor toolbar, usually represented by a checkbox icon.
469
+
-**Using the shortcut**: Press `Ctrl+Shift+9` (or `Cmd+Shift+9` on macOS) to insert a checklist at your cursor’s position.
470
+
-**Converting existing lists**: Select an existing bullet or numbered list and click the checklist button to convert it into an interactive checklist.
471
+
-**Toggling checklist items**: You can toggle the state of checklist items between checked and unchecked by clicking the checkbox. If you prefer using the keyboard, press `Ctrl+Enter` (or `Cmd+Enter` on macOS) to toggle the check marks based on your selection or cursor position in the editor.
472
+
473
+
#### Configuring checklist
474
+
To enable the checklist feature in your editor, add the `Checklist` toolbar item to the [RichTextEditorToolbarSettings.Items](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorToolbarSettings.Items) property. This feature supports customizable behavior and can be easily integrated into your Rich Text Editor toolbar for quick access.
475
+
476
+
Here’s an example of how you can configure the checklist in your Rich Text Editor:
477
+
478
+
{% tabs %}
479
+
{% highlight razor %}
480
+
481
+
@using Syncfusion.Blazor.RichTextEditor
482
+
483
+
<SfRichTextEditor>
484
+
<RichTextEditorToolbarSettingsItems="@Items" />
485
+
<p>The Rich Text Editor component is the WYSIWYG ('what you see is what you get') editor that provides the best user experience to create and update content. Users can format their content using standard toolbar commands.</p>
486
+
</SfRichTextEditor>
487
+
@code {
488
+
private List<ToolbarItemModel> Items = new List<ToolbarItemModel>()
489
+
{
490
+
new ToolbarItemModel() { Command = ToolbarCommand.Checklist }
Configure code block formatting as a separate toolbar button by adding the `InsertCode` Command within the [RichTextEditorToolbarSettings.Items](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.RichTextEditor.RichTextEditorToolbarSettings.html#Syncfusion_Blazor_RichTextEditor_RichTextEditorToolbarSettings_Items) property. The `InsertCode` button has a toggle state to apply code block formatting to the editor and remove code block formatting from the editor.
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

0 commit comments