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
1089
Column Header location ?
posted

Trying to add an adorner that is fixed just bellow a column header.  How would one go about getting the right Point?   Is there an example anywhere?

  • 2677
    posted

    Ryan,

    Sorry for the lengthy response time.  There is no exact sample for displaying adorners for column Headers, but there is a sample in the WPF FeatureBrowser and a blog post that explains how to do it for the CellValuePresenter or Cells of the XamDataGrid.  This should give you enough information on how to get the position.  In the Sample, you will see how they get the postion of the CellValuePresenter.  You can do the same for the LabelPresenter. 

    Blog Post:  http://blogs.infragistics.com/blogs/josh_smith/archive/2008/09/12/adorning-xamdatagrid-with-a-popup-editor.aspx

    The sample for adorning is in the Feature Browser under the ControlComposition section and it is called Adorning Editors. 

    If you need more assistance on this matter, please let me know.