I need to access the checkbox in HeaderPrefixArea, Via in the Codebehind, so that i can change the state of checkbox.
I tried, FindName, FindResource methods, but i could not. Please tell how to access the checkbox in headerprefixarea through codebehind.
Try this !!!
checkBox = Infragistics.Windows.Utilities.GetDescendantFromName(xamDatagridName, "grdHeaderCheckbox") as CheckBox;
if (checkBox != null)
checkBox.IsChecked = true;
where grdHeaderCheckbox is the name of the checkbox in HeaderPrefixArea
That worked for me, thanx!