Changing the template crashes HeaderedContentControl with UIElement Header - by Bruno Martinez

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


4
0
Sign in
to vote
ID 678732 Comments
Status Closed Workarounds
Type Bug Repros 1
Opened 7/7/2011 8:10:11 AM
Access Restriction Public
Moderator Decision Sent to Engineering Team for consideration

Description

When instead of a string or another primitive, you set HeaderedContentControl.Header to a UIElement, as in

    <toolkit:HeaderedContentControl x:Name="control">
        <toolkit:HeaderedContentControl.Header>
            <TextBlock Text="hhh" />
        </toolkit:HeaderedContentControl.Header>
    </toolkit:HeaderedContentControl>

Changing the control template throws an exception.
Sign in to post a comment.
Posted by Microsoft on 4/29/2014 at 12:23 PM
Thank you for reporting this issue. This issue has been fixed in Visual Studio 2013. You can install a trial version of Visual Studio 2013 with the fix from: http://go.microsoft.com/?linkid=9832436
Posted by Microsoft on 5/6/2013 at 12:46 AM
Hi,
It is expected that control templates are used as it is and not modified.

Thanks
Posted by MS-Moderator10 [Feedback Moderator] on 7/7/2011 at 8:24 PM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for investigation. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 7/7/2011 at 8:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)