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
반응형
그리드형(광고전용)
댓글을 달아 주세요