첨부 소스 코드는 나눔고딕코딩 폰트를 사용합니다.
728x90
반응형
728x170
<Grid xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid">
    <Grid.Resources>
        <Style x:Key="RowStyleKey" TargetType="dxg:GridRowContent">
            <Style.Triggers>
                <Trigger Property="dxg:DataViewBase.IsFocusedRow" Value="True">
                    <Setter Property="Background" Value="Gray"  />
                    <Setter Property="Foreground" Value="White" />
                </Trigger>
            </Style.Triggers>
        </Style>
    </Grid.Resources>
    <dxg:GridControl x:Name="gridControl"
        AutoGenerateColumns="AddNew">
        <dxg:GridControl.View>
            <dxg:TableView
                ShowGroupPanel="False"
                AllowGrouping="False"
                RowStyle="{StaticResource RowStyleKey}">
            </dxg:TableView>
        </dxg:GridControl.View>
    </dxg:GridControl>
</Grid>
728x90
반응형
그리드형(광고전용)
Posted by icodebroker

댓글을 달아 주세요