-
Notifications
You must be signed in to change notification settings - Fork 20
Added new kb article change-appointment-default-style-ui-net-maui-scheduler #1276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
didiyordanova
merged 2 commits into
master
from
new-kb-change-appointment-default-style-ui-net-maui-scheduler-31249f6a17af4994ba92d548184423f0
Nov 5, 2025
Merged
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
knowledge-base/change-appointment-default-style-ui-net-maui-scheduler.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| --- | ||
| title: Changing Appointment Default Style in UI for .NET MAUI Scheduler | ||
| description: Learn how to change the default style of appointments in the UI for .NET MAUI Scheduler, specifically focusing on modifying the background color without creating a DataTemplate. | ||
| type: how-to | ||
| page_title: Modify Appointment Style in UI for .NET MAUI Scheduler | ||
| meta_title: Modify Appointment Style in UI for .NET MAUI Scheduler | ||
| slug: change-appointment-default-style-ui-net-maui-scheduler | ||
| tags: scheduler, ui for .net maui, appointmentview, backgroundcolor | ||
| res_type: kb | ||
| --- | ||
|
|
||
| ## Environment | ||
|
|
||
| | Version | Product | Author | | ||
| | --- | --- | ---- | | ||
| | 11.1.0 | Telerik UI for .NET MAUI Scheduler | [Dobrinka Yordanova](https://www.telerik.com/blogs/author/dobrinka-yordanova) | | ||
|
|
||
| ## Description | ||
|
|
||
| I want to change the default style of appointments in the [UI for .NET MAUI Scheduler](https://www.telerik.com/maui-ui/documentation/controls/scheduler/overview). Specifically, I am looking to modify only the background color of the appointments without creating a custom DataTemplate. | ||
|
|
||
| This knowledge base article also answers the following questions: | ||
| - How to change `Appointment` background color in UI for .NET MAUI Scheduler? | ||
| - How to customize `AppointmentView` style in UI for .NET MAUI Scheduler? | ||
| - How to apply an implicit style to Scheduler appointments in UI for .NET MAUI? | ||
|
|
||
| ## Solution | ||
| To change the background color of the appointments without creating a `DataTemplate`, use an implicit style targeting the `AppointmentView` element. Below is an example: | ||
|
|
||
| ```xaml | ||
| <ContentPage.Resources> | ||
| <ResourceDictionary> | ||
| <Style TargetType="telerik:AppointmentView"> | ||
| <Setter Property="BackgroundColor" Value="LightBlue" /> | ||
| </Style> | ||
| </ResourceDictionary> | ||
| </ContentPage.Resources> | ||
|
|
||
| <telerik:RadScheduler AppointmentsSource="{Binding Appointments}"> | ||
| <telerik:RadScheduler.ViewDefinitions> | ||
| <telerik:MultidayViewDefinition /> | ||
| </telerik:RadScheduler.ViewDefinitions> | ||
| </telerik:RadScheduler> | ||
| ``` | ||
|
|
||
| ## See Also | ||
|
|
||
| - [Scheduler Overview in UI for .NET MAUI](https://www.telerik.com/maui-ui/documentation/controls/scheduler/overview) | ||
| - [Appointment Styling](https://www.telerik.com/maui-ui/documentation/controls/scheduler/styling/appointments-styling) | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.