hi,
how can i change the font size in a specific fiekd/fieldlayout
My xamdatagrid has 2 fiedlayouts, and i want the first one font size to be larger,
thanks
Thank u very much
That did the trick :)
Hello Gavi,
You can set the specific FieldLayout's FieldSettings' CellValuPresenterStyle property to a style similar to this one:
<Style TargetType="{x:Type igDP:CellValuePresenter}" x:Key="FontSizeStyle">
<Setter Property="FontSize" Value="20"/>
</Style>
Here is a sample code snippet to help you better understand what I mean:
<igDP:XamDataGrid.FieldLayouts>
<igDP:FieldLayout >
<igDP:FieldLayout.FieldSettings >
<igDP:FieldSettings CellValuePresenterStyle="{StaticResource FontSizeStyle}" />
</igDP:FieldLayout.FieldSettings>
<igDP:FieldLayout.Fields>
....
</igDP:FieldLayout.Fields>
</igDP:FieldLayout>
</igDP:XamDataGrid.FieldLayouts>
Hope this is what you needed. Let me know if require further assistance on the matter.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support