问题
What's the difference between GridControl and GridView in DevExpress? It seems GridControl is WinForm and GridView is WPF, however I am using gxg:GridContol in my XAML... Is there also any relationship between these? Found this for GridView, none for GridControl.
Reason is that each time I'm looking for help tp solve my GridControl issues (DevExpress GridControl cells' inner text selectable but not editable), I am being answered with a GridView instead of GridControl.
FYI, my grid is setup like this:
<dxg:GridControl>
<dxg:GridControl.Resources>
</dxg:GridControl.Resources>
<dxg:GridControl.View>
<dxg:GridControl.TableView>
</dxg:GridControl.TableView>
</dxg:GridControl.View>
<dxg:GridControl.Columns>
</dxg:GridControl.Columns>
</dxg:GridControl>
Thank you!
回答1:
There are GridControl class for WinForms
0 and GridControl class for WPF
1. GridView
is used by WinForms
's GridControl
to show data in table-like view. There are no GridView
in WPF
.
Some relationship between classes:
0. GridControl for WinForms is using this views:
- GridView
- BandedGridView
- AdvBandedGridView
- LayoutView
- CardView
- WinExplorerView
1. GridControl for WPF is using this views:
- TableView
- CardView
- TreeListView
0 XtraGrid Suite
1 DXGrid Suite
来源:https://stackoverflow.com/questions/26921145/whats-the-difference-between-gridcontrol-and-gridview-in-devexpress