tags:

views:

38

answers:

1
<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?

+1  A: 

You can use data binding to change them dynamically.

klausbyskov
How do I bind to a property or instance object in the window?
Daniel Skinner