← All SmartAdapters Scheduling

SmartCalendarAdapter

Extends the Calendar control with AI assistance for reading and creating events from plain language.

Attaches to Calendar

The calendar adapter lets users describe scheduling in words — "team sync every Tuesday at 10" — and turns that into calendar entries, while also answering questions about what is already on the schedule.

It connects the natural way people talk about time to the structured world of calendar events.

Questions work the same way as commands: ask what is scheduled for next week and the adapter reads the control's events back as an answer instead of making you scan the grid.

What it gives you

  • Creates events from natural-language descriptions.
  • Answers questions about the current schedule.
  • Works with the standard Calendar control.

Use it for

  • Natural-language appointment booking
  • Assistant-style schedule queries
  • Faster event entry in scheduling-heavy screens

Like every adapter, it runs through a SmartHub and inherits its SmartEndpoint — switching the model or provider never changes this code.

csharp
var hub = new SmartHub(this) { Endpoint = endpoint };

var cal = new SmartCalendarAdapter { Calendar = calendar1 };

await cal.RunAsync("Lunch with Priya next Thursday at noon");

Read the SmartCalendarAdapter docs ↗