How do you add vertical lines between fields such as Excel?
Thank you for your responses. I understand how to accomplish this now.
Hi,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
Yes, I don't think there is any other way to show those lines. Let me know if restyling the CellValuePresenter element works for you.
From your post, its seems the only way to get these vertical cell borders is to reStyle the CellValuePresenter.
Is this correct?
Hello,
Are you looking for the same Excel header selection behavior shown on the screenshot? You might achieve something similar with the grid when you set the LabelClickAction to SelectField:
<igDP:XamDataGrid.FieldSettings>
<igDP:FieldSettings LabelClickAction="SelectField"/>
</igDP:XamDataGrid.FieldSettings>
You could also use the following style for the CellValuePresenter to override the color and the thickness of the borders:
<Grid.Resources>
<Style TargetType="{x:Type igDP:CellValuePresenter}">
<Setter Property="BorderBrush" Value="Red"/>
<Setter Property="BorderThickness" Value="2,0,2,0"/>
</Style>
</Grid.Resources>
Let me know if this is what you are looking for or I'm missing something.