mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-02-04 05:35:44 +00:00
Move AddRadzenComponents in theme registration as RadzenTheme needs it.
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Radzen.Blazor
|
||||
/// A scheduler component for displaying and managing calendar appointments in multiple view types (day, week, month, year).
|
||||
/// RadzenScheduler provides a rich calendar interface with drag-and-drop, inline editing, recurring events, and customizable views.
|
||||
/// Displays time-based events in various calendar views, ideal for appointment booking, event calendars, resource scheduling, or any time-based data visualization.
|
||||
/// Features multiple views (Day, Week, Month, Year Planner, Year Timeline), drag & drop to move appointments between time slots, resize to adjust appointment duration by dragging edges,
|
||||
/// Features multiple views (Day, Week, Month, Year Planner, Year Timeline), drag & drop to move appointments between time slots, resize to adjust appointment duration by dragging edges,
|
||||
/// inline editing to create and edit appointments directly in the calendar, tooltips for quick info on hover, customizable appointment templates,
|
||||
/// support for all-day and multi-day events, and timezone-aware appointments.
|
||||
/// Define data properties using StartProperty, EndProperty, and TextProperty. Add view components (RadzenDayView, RadzenWeekView, RadzenMonthView) as child content.
|
||||
|
||||
@@ -40,6 +40,13 @@ These instructions assume the new application layout which uses rendering modes
|
||||
<pre class="rz-p-4">
|
||||
<code><RadzenTheme Theme="material" />
|
||||
</code>
|
||||
</pre>
|
||||
<RadzenText>
|
||||
Open the <code>Program.cs</code> file and include:
|
||||
</RadzenText>
|
||||
<pre class="rz-p-4">
|
||||
<code>builder.Services.AddRadzenComponents();
|
||||
</code>
|
||||
</pre>
|
||||
@IncludeJavaScript(("App.razor", CurrentVersion))
|
||||
@UseComponent(CurrentVersion)
|
||||
@@ -53,13 +60,6 @@ These instructions assume the new application layout which uses rendering modes
|
||||
<RadzenAlert AlertStyle="AlertStyle.Info" Variant="Variant.Flat" Shade="Shade.Lighter" AllowClose="false">
|
||||
Set the <code>@@rendermode</code> attribute to the render mode of your application e.g. <code>InteractiveServer</code>, <code>InteractiveWebAssembly</code> or <code>InteractiveAuto</code>.
|
||||
</RadzenAlert>
|
||||
<RadzenText>
|
||||
Open the <code>Program.cs</code> file and include:
|
||||
</RadzenText>
|
||||
<pre class="rz-p-4">
|
||||
<code>builder.Services.AddRadzenComponents();
|
||||
</code>
|
||||
</pre>
|
||||
@Next
|
||||
</div>
|
||||
</RadzenTabsItem>
|
||||
@@ -224,6 +224,13 @@ These instructions assume the new application layout which uses rendering modes
|
||||
<pre class="rz-p-4">
|
||||
<code><component type="typeof(RadzenTheme)" render-mode="@(args.renderMode)" param-Theme="@@("material")" />
|
||||
</code>
|
||||
</pre>
|
||||
<RadzenText>
|
||||
Open the <code>Program.cs</code> file and include:
|
||||
</RadzenText>
|
||||
<pre class="rz-p-4">
|
||||
<code>builder.Services.AddRadzenComponents();
|
||||
</code>
|
||||
</pre>
|
||||
</text>;
|
||||
|
||||
@@ -259,13 +266,6 @@ These instructions assume the new application layout which uses rendering modes
|
||||
Make sure that you do not nest <code>RadzenComponents</code> inside a positioned element (i.e. with position: relative, position: absolute or position: fixed).
|
||||
To be safe you can add them at the end of the layout file after all other elements.
|
||||
</RadzenAlert>
|
||||
<RadzenText>
|
||||
Open the <code>Program.cs</code> file and include:
|
||||
</RadzenText>
|
||||
<pre class="rz-p-4">
|
||||
<code>builder.Services.AddRadzenComponents();
|
||||
</code>
|
||||
</pre>
|
||||
</text>;
|
||||
RenderFragment Next =
|
||||
@<text>
|
||||
|
||||
Reference in New Issue
Block a user