Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
360
XamDateTimeSlider Binding: Whats wrong!?
posted

Hello, verry simple example. Just a slider, a label for visualization of my property and three properties in the code behind. The properties all implement iNotifyPropChanged.

<StackPanel Orientation="Vertical">
    <ig:XamDateTimeSlider MaxValue="{Binding MaxDate}" MinValue="{Binding MinDate}" Value="{Binding ThisDate}" />
    <Label Content="{Binding ThisDate}" />
</StackPanel>

This does NOT write the Value back to my "Today" Property. The Min and May Dates are set properly.

If i try this

<ig:XamDateTimeSlider MaxValue="{Binding MaxDate}" MinValue="{Binding MinDate}" >
    <ig:XamDateTimeSlider.Thumb>
        <ig:XamSliderDateTimeThumb Value="{Binding ThisDate}" />
    </ig:XamDateTimeSlider.Thumb>
</ig:XamDateTimeSlider>

it does not work either. If i have a look into the thumbs value using the debugger, i can see that the value is changed. However, neither the slider nor the thumb seems to write back to the property :(

Parents Reply Children
No Data