概述
GridControl是Dev中的表格控件,类似于Winfrom中的DataGridView,以及WPF中的DataGrid,但是这个控件功能比原生的功能要强大很多,下面用实例举例说明此控件的用法.
代码
前台XAML:
<UserControl x:Class="Caliburn.Micro.Hello.SubTabPageView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Caliburn.Micro.Hello"
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
xmlns:cal="http://www.caliburnproject.org"
mc:Ignorable="d"
Height="300" Width&