Setting AllowDrag in generic.xaml raises exception

2 posts, 0 answers
  1. Rajesh
    Rajesh avatar
    25 posts
    Member since:
    Dec 2007

    Posted 24 Feb 2010 Link to this post


    In my following example , I am trying to set AllowDrag property for listboxitem in my generic.xaml file. When the application gets loaded, it raises exception. Can you help me what wrong I am doing in it.

  2. Miroslav
    Miroslav avatar
    922 posts

    Posted 25 Feb 2010 Link to this post

    Hi Rajesh,

    There seems to be a bug in the Silverlight XamlParser when embedded styles with attached properties are parsed.

    If you place the style in the resource dictionary and reference it with {StaticResource} there will be no exception. I am attaching the correct xaml here.

    All the best,
    the Telerik team

    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 Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft R3 2016 release webinar banner
Back to Top