Hi,
Here is my problem, I have a customized XamGrid where I want to change the look of the GroupByHeaderCellControl. I would like to reproduce the original comportement but I was not able to do it.
I attached a solution to show you how I do.
Regards.
Hello Coso,
Thank you for contacting Infragistics!
I have reviewed your sample and would like to ask for some clarification on the issue you are have. You state that you wish to reproduce the original compartment; are you referring to the ExpansionIndicator and ability to expand/hide the groupby section?
Any information you can provide is appreciated.
Sincerely,JonInfragistics, Inc.http://ko.infragistics.com/help
I would like to change the GroupByCellHeaderControl, the original is :
Sorry for the second post I couldn't insert a second image
And I get this :
Could you tell me how to achieve this.
I was able to remove the gap in your GroupBy headers by modifying the Path_0Suivant Path properties Canvas.Left from 0 to -5 and the Width from 25 to 30. The code looks as follows:
<Path x:Name="Path_0Suivant" Width="30" Height="24" Canvas.Left="-5"...
The -5 canvas.left property will allow for the overlap, while the increased width will keep your path object drawn far enough to the right.
This should give you the look you need.
Hi Jon,
Thanks for the response, its better but I still don' t understand clearly how it works. Is there a way to have the original code and modify it to have the look I expect ?
I have reached out to you in a private case, CAS-99714-B3M8V9 to further discuss this issue.
I refer to the Arrow that points to the right. The steps I made are :
- no groups,
- one groups,
- two groups,
I attached a picture with those three steps. The lag is coming from the Canvas.Left property set to -5px in the last state and who is set to 0px in the others states.
Reagrds
Hi Coso,
To clarify, are you referring to the up arrow, or the arrow for each box that points to the right?
As far as the lag goes, can you please provide me with a step-by-step on how to reproduce the issue you are encountering. I have been unable to reproduce the lag from just using the sample.
Cheers,JonInfragistics, Inc.http://ko.infragistics.com/help
I misspoke in my last response, I understand what you did on the sample, its the behavior of the GroupByHeader's visual states I misunderstand.
What I would change are :
- the background color (that's OK),
- the arrow color (that's OK but there's graphics bug),
- the close button (that's OK)
- the sort arrow (that's OK too)
My problem is on the different VisualStates,
The first group arrow must be different (as in the original), and when I tried as in my sample, I have a lag when the first group past from the state Last to the state NotLast.
I hope my explanations are sufficient, let me know if not.
What is it that you wish to change exactly in the GroupByHeaders? If you were using the original and you were to make changes over again, would it simply be the arrow look and background color? I made the modifications to your code in order to preserve your customized style.
If you could elaborate on the specifics of what you need, I can better assist you.