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
1415
Reposition DeferredWithScrollTips
posted

Is there a way to reposition XamDataGrid scroll tips? 

For example, display scroll tips in the center of the grid instead of near the scroll bar?

Parents
No Data
Reply
  • 34830
    Verified Answer
    Offline posted

    Hello Patrick,

    I have been investigating into the behavior you are looking to achieve, but unfortunately this would not be easily done. The scroll tips on the XamDataGrid are “attached” to the vertical scrollbar of the grid, and there does not exist a property to be able to move them.

    What I can recommend though, is that there is a way to re-template the scroll tips, and so perhaps if you enlarged the scroll-tip, the information part could somehow show more toward the center of the grid that way? This is a bit hacky, but if you are looking to re-template, the default template exists in the DataPresenterGeneric_Express.xaml file commonly found at the following directory with Infragistics controls installed:

    C:\Program Files (x86)\Infragistics\<version>\WPF\DefaultStyles\DataPresenter

    From there, you will find a HierarchicalDataTemplate targeting a DataType of RecordScrollTipInfo that you can include in your project and make modifications to it.

    If you would like to see a built-in way to change the default location of the scroll tips in the XamDataGrid, I would recommend suggesting a new product idea for this at our WPF Ideas Site, here. This will place you in direct communication with our product management teams who plan and prioritize upcoming features and development based on community and user feedback.

    Please let me know if you have any other questions or concerns on this matter.

Children
No Data