Hi, I am designing a grid with cardview and rowlayout set to true.
However I have a remaining issue:
When I resize the width of a card, all other cards are also resized to the same width. How can I prevent this?
I don't beleive you can. There is a style of variable height cards, but not variable width.
You should Submit a feature request to Infragistics
Is it possible to inherit from a CardAreaUIElement and plug it in somehow instead of the standard UIElement, by using a creation filter?
You could use a CreationFilter to replace the CardAreaUIElement with a derived class, yes. But if you intend to do that in order to make variable-width cards, this will not be a trivial task.
What is the best way of replacing a UIElement with a custom UIElement?
Well, it's hard to answer that without more context. But it sounds like you would need to use a CreationFilter.
A red "X" in the grid indicates that there was an exception during the paint event. You should set up the Visual Studio IDE to break on all exception so you can see what caused the exception. It's probably something in your CreationFilter.
Well, I would like to use my CustomRowUIElement instead of the default RowUIElement.
I have tried to to this in the AfterCreateChildElements and replace all the RowUIElements with CustomRowUIElements (by removing from and adding to ChildElements collection), but then I get a red cross at runtime and some unhandled exceptions.