What's the difference between GridControl and GridView in DevExpress?

旧巷老猫 提交于 2019-12-23 14:46:23

问题


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 WinForms0 and GridControl class for WPF1. 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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!