Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2395
Get GroupByRecordPresenter on child record MouseEnter event
posted

I'm attempting to get the GroupByRecordPresenter on a child record when the mouse moves over it using the following code: I'm setting this on a style for the DataRecordPresenter

		private void OnMouseEnter(object senderMouseEventArgs e)
		{
			RecordPresenter rp = sender as RecordPresenter;
			if (rp == nullreturn;
			Debug.WriteLine("Success!");
			GroupByRecordPresenter gbrp = GroupByRecordPresenter.FromRecord(rp.Recordas GroupByRecordPresenter;
			if (gbrp == nullreturn;
		}

However, GroupByRecordPresenter.FromRecord always returns null, even though the GroupByRecordPresenter is loaded and visible in the grid. How can I obtain the GroupByRecordPresenter on mouseover?

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Dierk,

     

    I am just checking if you got this worked out or you still require any assistance or clarification on the matter.

Children
No Data