开发者

How Do You Databind Avalon DateTimePicker Start Value?

开发者 https://www.devze.com 2023-01-01 08:09 出处:网络
Trying to set the s开发者_Python百科tart time of the Avalon DateTimePicker, but all I get is the current time.

Trying to set the s开发者_Python百科tart time of the Avalon DateTimePicker, but all I get is the current time. Anyone had any success with this control. FYI, I am stuck using .Net 3.0.

  <wf:DateTimePicker x:Name="DatePickerStartTime"                                           
      DateTimeSelected="{Binding Path=StartTime,Mode=TwoWay}" >                                        
 </wf:DateTimePicker>

Thanks,

Dave


The control defaulted to local time on load. I set the StartTime after it loaded and the binding worked.

0

精彩评论

暂无评论...
验证码 换一张
取 消