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
594
Conditionally adding and removing borders on non-contiguous cells
posted

Hi,

I am iterating through the collection of cells and want to add a specific border appearance to cells which match certain criteria. I've read through the forum and the kb and realise that this will require using a DrawFilter but can't see how to get hold of the correct objects with which to do border drawing. Any help would be appreciated, even if it just points me in the right direction.

Thanks in advance.

 

  • 469350
    Offline posted

    Which UIElements you use really depends on what you want to do. Where exactly do you want to draw the border? Around the cell? If that's the case, how do you intend to deal with adjacent cells? Does it matter to you that there will be double-thick borders if you draw borders for two adjacent cells? 

    I recommend that you get the Infragistics UIElementViewer Utility.It's incredibly useful for CreationFilters and DrawFilters, as it allows you to see the UIElements you are working with.