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

Can't set IsPropertyChangedAggregationEnabled from style

1 Answer 180 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Charles
Top achievements
Rank 1
Charles asked on 02 Oct 2015, 02:43 PM

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!

 


1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 02 Oct 2015, 04:03 PM
Hi Charles,

Thank you for your feedback.

The issue is already known to us and the fix for it will be available in the next internal build.

Please excuse us for the inconvenience caused.

Best Regards,
Stefan
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
GridView
Asked by
Charles
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or