How do I change font size on a XamGrid using code, designer, xaml.
A seemingly trivial task has taken a lot of time, didn't want to waste anymore time on this.. Pls. assist.
Hi,
Just set the FontSize on your CellStyle:
<Style TargetType="ig:CellControl">
<Setter Property="FontSize" Value="26"/>
</Style>
-SteveZ
...and what about the header? I can't find the type of the header column to set the font size of the headers.
Thanks in advance.
Found it, its igPrim:HeaderCellControl with xmlns:igPrim="http://schemas.infragistics.com/xaml/primitives"
<Style TargetType="{x:Type igPrim:HeaderCellControl}" BasedOn="{StaticResource {x:Type igPrim:HeaderCellControl}}">
<Setter Property="FontSize" Value="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}, Path=FontSize}" />