Hi
I have some fields where some are colored. For selecting / activating a row I've also set a style to change the color. When both of the styles are active I noticed that the row selection is behind the field and thus the color is not solid. Is there a way to bring it to front?
My styles:
<Style TargetType="{x:Type igDP:DataRecordCellArea}"> <Setter Property="BorderActiveBrush" Value="Orange"/></Style>
<igDP:UnboundField BindingPath="Data.CustomerID" Label="CustomerID" > <igDP:Field.Settings> <igDP:FieldSettings CellWidth="70" LabelWidth="70"> <igDP:FieldSettings.CellValuePresenterStyle> <Style TargetType="{x:Type igDP:CellValuePresenter}"> <Setter Property="Background" Value="Lavender"/> </Style> </igDP:FieldSettings.CellValuePresenterStyle> </igDP:FieldSettings> </igDP:Field.Settings></igDP:UnboundField>
Hello Marco,
The easiest way to solve the issue regarding the border being inconsistent, is to set the Margin property in the style for the CellValuePresenter.
For example:
<igwpf:FieldSettings.CellValuePresenterStyle>
<Style TargetType="{x:Type igwpf:CellValuePresenter}">
<Setter Property="Background" Value="Lavender"/>
<Setter Property="Margin" Value="0,1,0,1"/>
</Style>
</igwpf:FieldSettings.CellValuePresenterStyle>
Please let me know if you have any questions or concerns.
Sincerely,AndrewDeveloper Support IInfragistics Inc.www.infragistics.com/support
Just checking in, do you have any other questions or concerns?