He,
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.
Thanks
Andy,
Try this !!!
CheckBox
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
Thanks,
Arun
Thanx Arun
That worked for me, thanx!
Christo