I'm trying to use a XamGrid to present some data with a details section that can be displayed for each row using a TemplateColumnLayout. I would like to provide a custom style for the expansion arrow but can't seem to find how to do it. Can you provide a sample of how to edit the arrow for the XamGrid so I can style it to match our application?
Hello Christopher,
The element you need to modify is called 'ExpansionIndicatorCellControl'. You can create a new style or edit the default. It is located on the following destination on your machine:
C:\Program Files (x86)\Infragistics\201x.x\WPF\DefaultStyles\XamGrid
for example:
<Style TargetType="igPrim:ExpansionIndicatorCellControl"> <Setter Property="Background" Value="Green" /> <Setter Property="Opacity" Value="0.5" /></Style>
From the following forum thread, you can see how to modify the default style.
Sincerely,ZhivkoAssociate Software Developer