This is a migrated thread and some comments may be shown as answers.

Converter vs StyleRule

2 Answers 101 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Krzysztof
Top achievements
Rank 1
Krzysztof asked on 20 Sep 2011, 11:57 AM
I have a RadGridView with 30000 items, few columns need conditional formatting. One is simple - all above 10.0 red, other are more complex - based on few properties and ranges. Should i use value converters or StyleRule? Which one is faster? Is it depend based on complexity or amount of conditions?

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavel Pavlov
Telerik team
answered on 20 Sep 2011, 04:29 PM
Hi Krzysztof,

There should not be percievable difference between both approaches. Yes it would depend on the complexity of the conditions. However it will be the same for both approaches.

I have made a small test as a proof-of-concept . Please find it attached.  The percieved scrolling performance is pretty mutch the same in both cases.

Best wishes,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Krzysztof
Top achievements
Rank 1
answered on 21 Sep 2011, 08:02 AM
Ok, thanks for clarification :) 
Tags
General Discussions
Asked by
Krzysztof
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Krzysztof
Top achievements
Rank 1
Share this question
or