Somebody knows how to align the header label to right on XamDataPresenter?
I try this but doesn't work
......
<Style TargetType="{x:Type igDP:LabelPresenter}" x:Key="TopAlignField"> <Setter Property="HorizontalContentAlignment" Value="Right"/> </Style>
.........
<igDP:Field Name="CantidadCompra" Label="Cantidad Compra"> <igDP:Field.Settings> <igDP:FieldSettings LabelPresenterStyle="{StaticResource TopAlignField}" EditorType="{x:Type igEditors:XamNumericEditor}" EditAsType="{x:Type sys:Double}"/> </igDP:Field.Settings></igDP:Field>
Hi SporteBNV,
You need to set the LabelTextAlignment property of FieldSettings to "Right".
Hope this helps.
Thank you Galina, that work.
Just one details, this control reserve a little space at right side on the header label.
That's normal behavior, I marked it with a blue line in the next screen shot