How create event with Alarm #780
Answered
by
axunonb
labrador999
asked this question in
Q&A
-
|
I'm new to this board, so appologize errors... I already created an event , yearly, full day. Now I want to add an alarm at 12:00 to this event. I guess I have to create a 'Alarm', and add this Alarm to the calendarEvent. |
Beta Was this translation helpful? Give feedback.
Answered by
axunonb
Apr 30, 2025
Replies: 1 comment 1 reply
-
|
Yes, just go on with: var alarm = new Alarm
{
Action = AlarmAction.Display,
Trigger = new Trigger(Duration.FromMinutes(15)),
Description = "Test Alarm"
};
calendarEvent.Alarms.Add(alarm); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
axunonb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, just go on with: