Wednesday, April 2, 2014

Devexpress WPF Gridview: set row cell font size

Quite simple, even though I couldn't find anything on that matter. Here's a complete example, giving you can locate the automatically created TableView element in your XAML:

<dxg:TableView Name="tableView1" 
   ShowGroupPanel="False" 
   NavigationStyle="Row" >
 <dxg:TableView.CellStyle>
  <Style>
   <Setter Property="TextElement.FontSize" Value="8" />
  </Style>
 </dxg:TableView.CellStyle>
</dxg:TableView>

No comments: