Scenario:
List of DateTimes, using IValueConverter in order to get doubles for the tick values, and a different IValueConverter for the TickTemplate.
For some reason, I cannot get it to work...
There is also a problem that when I set the DataContext after InitializeComponent(), I get a stackoverflowexception.
Even when not using the binding and setting the Ticks myself, the Ticks are not updated:
Dictionary<
double
, DateTime> DateRange = DateTime.Today.GetDatesRange(DateTime.Today.AddYears(2)).CreateOADateDictionary();
SliderSelectPeriod.Ticks =
new
Helpers.DateRangeToDoubleCollectionConverter().Convert(DateRange,
null
,
null
,
null
)
as
DoubleCollection;
[Edit]
Found the problem; the DateRange, Min and Max ticks property in the INotifyChanged Model wasn't marked as Public, causing the ticks and texts not to show up :-/ Guess you should go to bed early in stead of continuing to progg past 3 AM :P
[/Edit]