Hello,
Is there someway to hide the scrollbar of the XamScheduleView? I have a stackpanel with multiple XamScheduleView's, each scheduleview representing one day, stacked on top of each other vertically. I'd like to have it so that the individual scheduleview's don't have a scrollbar and instead use the scrollbar of the stackpanel to navigate horizontally - this way as I scroll I can view the same time period for all the day's at the same time.
During debugging I've found the TimeslotScrollBarVisibility property, and when set to Hidden it does what I'm looking for, but I can't figure out a way to access this property in code/XAML.
Alternatively, having someway to synchronize the scrollbars together would accomplish the same goal. Is there anyway to synchronize the scrollbars of XamScheduleViews? (Although with this solution I'd still like to hide the individual scrollbars and only have a single scrollbar that controls the scrolling for all the scheduleviews.)
Thank you!
Thank you Marianne. I'll try to fill in more details where I can when I get a bit of free time.
Hi,
Andrew asked me to let you know that he has created a development issue concerning using the xamScheduleView in an infinite width container and wanting the width to adjust when the timeslot interval is changed.
I have created a private case for you, CAS-86118-LHGM6J, and will contact you directly thru your case.
I will also be creating separate cases for you related to your other questions and you will be hearing from me shortly thru your cases.
JPUser said:I don't suppose there is a way to set the major interval (like in the datachart for example)?
No but you can submit a suggestoin for adding that. For now you would need to create your own template to provide the functionality you want.
JPUser said: Is there a way to change the minimum extent for an activity?
Is there a way to change the minimum extent for an activity?
No, the minimum of 3 pixels is just so it doesn't appear like a line. Again the size really is based upon how the time maps to the size of the timeslots. You could provide a MinWidth on the ScheduleViewTimeslotHeader and that would affect the preferred size of the timeslot headers so you could make the timeslots wider.
The headers were designed to emulate Office so the default will only show the headers on the major interval.
I don't suppose there is a way to set the major interval (like in the datachart for example)?
In reality it is more than that because the minimum extent for an activity is like 3 pixels.
JPUser said: Ok, but as you can see in the screenshots, the times of the schedules are not actually overlapping, they are consecutive...
Ok, but as you can see in the screenshots, the times of the schedules are not actually overlapping, they are consecutive...
It doesn't matter whether the times overlap. It matters which pixels the times map to. So if the interval is say 60 minutes and the timeslot is only 30 pixels wide then at most every pixel represents 2 minutes of times. In reality it is more than that because the minimum extent for an activity is like 3 pixels.
JPUser said:Finally, one more question for today - how can I set the interval at which the header labels appear? For example, in the screenshot above the header text is appearing every hour. I'd like to change this value when the timeslot interval is changed (showing the time only at the hour level is not ideal when the timeslot interval is 1 minute...). I tried to find where this value is set, but I can't seem to find it anywhere.