crazy proj : No 6 - data binding + event handing
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.
(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......
优质内容筛选与推荐>>