첨부 소스 코드는 나눔고딕코딩 폰트를 사용합니다.
728x90
반응형
728x170
<Grid
    xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid"
    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity">
    <dxg:GridControl x:Name="gridControl"
        AllowLiveDataShaping="True"
        SelectionMode="Row">
        <dxg:GridControl.Columns>
            <dxg:GridColumn FieldName="ID"         ReadOnly="True" />
            <dxg:GridColumn FieldName="Name"       ReadOnly="True" />
            <dxg:GridColumn FieldName="Department" ReadOnly="True" />
            <dxg:GridColumn FieldName="Position"   ReadOnly="True" />
        </dxg:GridControl.Columns>
        <dxg:GridControl.View>
            <dxg:TableView
                ShowGroupedColumns="True"
                EditorShowMode="MouseUpFocused" />
        </dxg:GridControl.View>
        <i:Interaction.Behaviors>
            <dxg:GridDragDropManager
                AllowDrag="True"
                AllowDrop="True" />
        </i:Interaction.Behaviors>
    </dxg:GridControl>
</Grid>

※ DevExpress에서 제공하는 System.Windows.Interactivity.dll을 참조한다.

728x90
반응형
그리드형(광고전용)
Posted by icodebroker

댓글을 달아 주세요