I'm trying to disable property changed aggregation on all grids (the timer within it causes issues with Word when I host it in an add-in pane).
I've added a style as so:
<
Style
TargetType
=
"telerik:RadGridView"
>
<
Setter
Property
=
"IsPropertyChangedAggregationEnabled"
Value
=
"False"
/>
</
Style
>
And I get this error:
The property "IsPropertyChangedAggregationEnabled" is not a DependencyProperty. To be used in markup, non-attached properties must be exposed on the target type with an accessible instance property "IsPropertyChangedAggregationEnabled".
I think I can see why. The registration of this dependency property seems to be wrong. It includes a trailing space:
public
static
readonly
DependencyProperty IsPropertyChangedAggregationEnabledProperty = DependencyProperty.Register(
"IsPropertyChangedAggregationEnabled "
,
typeof
(
bool
),
typeof
(GridViewDataControl),
new
PropertyMetadata((
object
)
true
));
Can someone verify this? If it is the cause, it should be fixed!