728x90
반응형
728x170
<Grid xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid">
<dxg:GridControl x:Name="gridControl"
AutoGenerateColumns="None">
<dxg:GridControl.Bands>
<dxg:GridControlBand
HorizontalHeaderContentAlignment="Center"
Header="A"
VisibleIndex="0">
<dxg:GridControlBand.Columns>
<dxg:GridColumn FieldName="ProductID" dxg:BandBase.GridRow="0" />
<dxg:GridColumn FieldName="ProductName" dxg:BandBase.GridRow="1" />
</dxg:GridControlBand.Columns>
</dxg:GridControlBand>
<dxg:GridControlBand
HorizontalHeaderContentAlignment="Center"
Header="B"
VisibleIndex="1">
<dxg:GridControlBand.Bands>
<dxg:GridControlBand
HorizontalHeaderContentAlignment="Center"
Header="C">
<dxg:GridControlBand.Columns>
<dxg:GridColumn FieldName="UnitPrice" />
<dxg:GridColumn FieldName="QuantityPerUnit" />
</dxg:GridControlBand.Columns>
</dxg:GridControlBand>
<dxg:GridControlBand
HorizontalHeaderContentAlignment="Center"
Header="D">
<dxg:GridControlBand.Columns>
<dxg:GridColumn FieldName="SupplierID" />
<dxg:GridColumn FieldName="UnitsOnOrder" />
</dxg:GridControlBand.Columns>
</dxg:GridControlBand>
</dxg:GridControlBand.Bands>
</dxg:GridControlBand>
</dxg:GridControl.Bands>
<dxg:GridControl.View>
<dxg:TableView x:Name="tableView"
ShowGroupPanel="False"
AllowGrouping="False"
AutoWidth="False"
NavigationStyle="Cell" />
</dxg:GridControl.View>
</dxg:GridControl>
</Grid>
728x90
반응형
그리드형(광고전용)
댓글을 달아 주세요