I am not able to set the alignment for the values.
for example i want the currency field values to be alighned to right.
I tried
e.FieldLayout.Fields.Settings.CellContentAlignment = CellContentAlignment.LabelAboveValueAlignRight;
and also the
a.FontSize = 20;
e.FieldLayout.Fields.Settings.CellValuePresenterStyle= a.Style;
no use.
any help?
I agree :-(
Joe
Thanks, Joe. This helped me, too.
I think it's odd that the default template for a checkbox has a vertical and horizontal allignment of Top, Left. It really makes those cells stick out in an unpleasant way.
Yes - you could put a video in a cell if you wanted :-)
you did it again.. cool, keep up
another quck question is....can we use the regular components inside the dagagrid....like wpf native controls...datepicker. passwordbox etc?
<Style TargetType="{x:Type igDP:CellValuePresenter}"> <Setter Property="HorizontalContentAlignment" Value="Left"/> </Style>
<Style TargetType="{x:Type igDP:CellValuePresenter}">
<Setter Property="HorizontalContentAlignment" Value="Left"/>
</Style>