Skip to content

Commit

Permalink
Update scheduler-remove-appointment-shadow.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DinkoK authored Jun 26, 2024
1 parent fd8a3ea commit f386d56
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion knowledge-base/scheduler-remove-appointment-shadow.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,16 @@ To remove the appointment shadow, you will need to access all the `IAppointmentB
1. Access the background storage of the scheduler. Then you can iterate the `AppointmentBackgroundInfo` items and set the `ShadowColor` to transparent:

````C#

ISchedulerStorage<IAppointmentBackgroundInfo> backGroundStorage = this.radScheduler1.GetBackgroundStorage();
foreach (AppointmentBackgroundInfo item in backGroundStorage)
{
item.ShadowColor = Color.Transparent;
}

````
````VB.NET

Dim backGroundStorage As ISchedulerStorage(Of IAppointmentBackgroundInfo) = Me.radScheduler1.GetBackgroundStorage()

For Each item As AppointmentBackgroundInfo In backGroundStorage
Expand All @@ -44,4 +47,4 @@ Dim backGroundStorage As ISchedulerStorage(Of IAppointmentBackgroundInfo) = Me.r

## See Also

- [Working with Appointments in RadScheduler for WinForms](https://docs.telerik.com/devtools/winforms/controls/scheduler/appointments-and-dialogs/working-with-appointments)
* [Working with Appointments in RadScheduler for WinForms](https://docs.telerik.com/devtools/winforms/controls/scheduler/appointments-and-dialogs/working-with-appointments)

0 comments on commit f386d56

Please sign in to comment.