Can't set IsPropertyChangedAggregationEnabled from style

2 posts, 0 answers
  1. Charles
    Charles avatar
    41 posts
    Member since:
    Mar 2012

    Posted 02 Oct 2015 Link to this post

    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!

     


  2. Stefan X1
    Admin
    Stefan X1 avatar
    521 posts

    Posted 02 Oct 2015 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top