开发者

How Do You Databind Avalon DateTimePicker Start Value?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜