I am currently making EWS calls and am able to get back the Availability / Busy times with start/end DateTime values for multiple people. I now need a way to display this within a UI. Ideally I would show something very similar to the Scheduling Assistant that is seen within Outlook. I understand that no such control exists.
Is there a way using C# to programmatically build the data that is shown on WPF XamOutlookCalendarView?
See attached example of what is desired.
You could use our WPF XamSchedule control to achieve something similar to the Outlook Scheduling Assistant. We already have a few samples in our sample browser. If you have our WPF Samples Browser installed you could take a look at the following samples:
- xamSchedule -> Data -> Outlook Calendar View Overview (in the options pane select option "ScheduleViewDay");
- xamSchedule -> Data -> Schedule View Code Behind;
- xamSchedule -> Data -> Schedule View Single Calendar.
We also have some online samples. Open the following link and take a look at Schedule View:
I hope this is what you need. Let me know if you have more questions of you need further assistance.
Infragistics Developer Support
This actually looks like a much better View.
Can you provide code or doc that shows how to build out the Calendar info/data using code? We currently have an EWS api call to get the Free/Busy times for the supplied email addresses and are populating the WinForm UltraWinSchedule, which is okay... But this is better.
I was able to put in the XamScheduleView and populate it with my Outlook Data (see attached), but only by way of setting up the ExchangeScheduleDataConnector as follows...
ExchangeConnector.UseDefaultCredentials = true;
ExchangeConnector.ServerConnectionSettings = new ExchangeServerConnectionSettings();
ExchangeConnector.ServerConnectionSettings.Url = CurrentEmail.Url;
string domain = Environment.UserDomainName;
string user = Environment.UserName;
ScheduleDataManager.CurrentUserId = domain.ToLower() + char.ConvertFromUtf32(92) + user.ToLower();
This works... But I need a way to programmatically build out the Appoitments/Calendar Items by using the response of a EWS call for 5+ users and show all of their calendars together.
Similar to what is shown here: https://www.infragistics.com/samples/wpf/schedule/schedule-view-multiple-calendars
So, I am getting closer working through the infragistics online help doc. I have the following:
Is there a way to condense the horizontal size of so that more time slots (30 mins) can be seen without a Scroll Bar being required?
I also do not see a runtime property that can be set programmatically so that the user groupings are overlaid and tucked up tight to each other on Load. Versus the separate mode shown in my screenshot... I am aware of the ShowCalendarOverlayButton setting, but with this the user has to click to condense the overlaid view. I want it to load this way by default.