Hi,
I want to get the GroupByRecord (and his record child) of an HeaderRecordArea.
I don't find how to get this (I try with recursive function FindParent (FrameWorkElement) and VisualTreeHelper function and no GroupByRecord is Found).
Is solution exist ?
Thanks in advance,
Alex.
Hello Alex,
If you still require an assistance, please provide the the information I requested earlier so I can review the issue.
Thank you,
Sam
Hello Sam,
Sorry for my late response !
Thanks for first response I take this and give you as soon as possible.
Thanks,
Hi Sam,
I Want to localize all records depends of the header that contains the current checkbox (with respect the current Groupby) to check (or change another things) only on Record witch is present in ...
Thanks in advance for your explanation,
Alex,
I would like to ask you to clarify it for me -- Assuming you retrived a record that is a GroupBy record (not sure what the role of checkbox is), and it has child records - What is being checked or changed? Correct me if I am off track, and tell me what you are trying to achieve.
Sam,
Some explications :
I have for example an ObservableCollection where Items has a bool property.
I Bind this property on checkbox recordheader => It's ok,
But when I click on the CheckBox in Header, I want to check / uncheck all checkbox in recordheader with the respect's grouping.
You can see how this is implemented in the following blog post by Josh Smith, where he binds the CheckBox to a IsSelected property of the underlying item.
http://blogs.infragistics.com/blogs/josh_smith/archive/2008/09/04/adding-checkboxes-to-the-record-selectors-in-xamdatagrid.aspx
Has indicated in this forum that's doesn't work with grouping (is grouping check/uncheck in header check / unchek ALL record and not only childs record in the groups we'r click !)
I don't see how can do this fonctionnality, that why I witch to know how detect childs record of an header in groupby !
With the sample that was included in the forum post I provided you could group the records, and click on the checkBox located on the header record which had the functionality to check/uncheck its child records.
If it doesn't work for you, please submit a small sample that you have implemented with checkboxes and I review it and make suggestions.
Thanks Sam,
But It's doesn't give me the response of my question (and this exemple doesn't take groupby record when click on header prefix area Checkbox),
How could't I get the structure of any groupby with each children record and his Header witch contain my checkBox (or another control) ?
Thanks !