首页 > 其他 > 详细

crazy proj : No 6 - data binding + event handing

时间:2014-03-27 04:39:08      阅读:457      评论:0      收藏:0      [点我收藏+]

1. data binding 

mainly 2 methods: static, dynamic

(datacontext, datatable, bindinglist... I just mark them here as I ever saw them somewhere. )

the page can get the data via "get" method of the model you specified 

a. 

    <Window.DataContext>
        <local:ViewModel/>
    </Window.DataContext>

b.  

 ItemsSource="{Binding Path=Option_data}" 

c.

bubuko.com,布布扣

(here should build another view model to exhibit on the page)

(TODO: specify the data grid column name to substitute the name automatically generated from the data structure))

 

2. event handing

TODO......

crazy proj : No 6 - data binding + event handing,布布扣,bubuko.com

crazy proj : No 6 - data binding + event handing

原文:http://www.cnblogs.com/surgod/p/3627216.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!