Question

<ListBox.Template>
    <ControlTemplate TargetType="{x:Type ListBox}">
        <blendables:TimelinePanel IsItemsHost="True" 
            UnitSize="{StaticResource unitSize}" 
            UnitTimeSpan="1"
            BeginDate="1/1/2009"
            EndDate="12/31/2009" 
            />
     </ControlTemplate>
</ListBox.Template>

What is the best way of being able to change BeginDate and EndDate at runtime?

Was it helpful?

Solution

You can use data binding to change them dynamically.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top