This question is locked. New answers and comments are not allowed.
I have a stakeholder who likes the way the data is visualized in the TImeBar control, but thinks that in it's current form, it offers to much functionality and would be confusing to the end user (for the record, I disagree). What they would like to see the selection range and visible range locked (disable the click+drag the ends of the selection window and visible bar). The user could still scroll the selction box, and visible bar, but would not be able to change the range. We have a list of presets which gives the user the ability to change the range to day, week, month, quarter and year, and clicking on one of those changes the range of the selection and visible bar.
I didn't see anything that offered this functionality out of the box. I was looking at the available properties and events and thought that I could use the SelectionChange event in conjunction with binding the SelectionStart and SelectionEnd properties and a bunch of code to try to reset the SelectionStart/End if the end user tried to change the range, but get the updated Selection value thru the SelectionChange event if the user moved the selection window. I didn't actually try this out, it was just an idea.
I noticed that there was not a VisibleChange event, just VisibleStart/End properties, so even if my idea for the selection value worked, I couldn't use the same approach for the visible slider. Even if I wasn't trying to satisfy this stakeholder's request, I'd still like to see a VisibleChange event that works the same way as the SelectionChange event.
I didn't see anything that offered this functionality out of the box. I was looking at the available properties and events and thought that I could use the SelectionChange event in conjunction with binding the SelectionStart and SelectionEnd properties and a bunch of code to try to reset the SelectionStart/End if the end user tried to change the range, but get the updated Selection value thru the SelectionChange event if the user moved the selection window. I didn't actually try this out, it was just an idea.
I noticed that there was not a VisibleChange event, just VisibleStart/End properties, so even if my idea for the selection value worked, I couldn't use the same approach for the visible slider. Even if I wasn't trying to satisfy this stakeholder's request, I'd still like to see a VisibleChange event that works the same way as the SelectionChange event.