Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1130
Compile Error when using the generic.shared.xaml for Schedule
posted

When I tried to use the generic.shared.xaml for Schedule, I get the followng compile error.

Error    1    The property 'ActivityCategoryColorPicker.SelectedColor' cannot be set because it does not have an accessible set accessor. Line 2934 Position 85.    C:\Dev\Clarity\WPF\ClarityShell\Styles\XamScheduleResource.xaml    2934    85    ClarityShell

I am using version 2011 v1.

I was able to use the previous version of the generic.shared.xaml without any problem. This looks like a newly introduced bug,

 

  • 12875
    posted

    Hi,

    I'm going to create a case for you and link you to the development issue Andrew mentioned so that you will be notified when the issue is resolved in a service release.

    You'll hear from me shortly thru the case.

  • 54937
    Offline posted

    Yes this looks like a bug. The SelectedColor property of the ActivityCategoryColorPicker has an internal setter but the template for the ActivityCategoryDialog is two way binding to that property. The issue has been logged and should be addressed in an upcoming service release. For now you can probably just remove the Style for the ActivityCategoryDialog from your copy of the generic.shared.xaml. You may also need to remove the Style for the ActivityCategoryListItemPresenter element.