Home Dashboard Directory Help
Search

Changing the template crashes HeaderedContentControl with UIElement Header by Bruno Martinez


Status: 

Closed
 as Fixed Help for as Fixed


4
0
Sign in
to vote
Type: Bug
ID: 678732
Opened: 7/7/2011 8:10:11 AM
Access Restriction: Public
Moderator Decision: Sent to Engineering Team for consideration
0
Workaround(s)
view
1
User(s) can reproduce this bug

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.
Details
Sign in to post a comment.
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)
Sign in to post a workaround.
File Name Submitted By Submitted On File Size  
HeaderTemplateCrash.zip 7/7/2011 5 KB