locked
The type 'WindowsUIXamlBindingWrapper' was not found in XAML RRS feed

  • Question

  •  Hi!

    I'm building an app with movable objects inside a Canvas. To do that I template a Thumb as follows:

     

    
    
    <ControlTemplate x:Key="DesignerItemTemplate" TargetType="ContentControl">
        <Grid>
            <Thumb Template="{StaticResource ThumbTemplate}" DragDelta="mictmb_DragDelta_1" 
                   DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}" />
            <ContentPresenter Content="{TemplateBinding ContentControl.Content}" />
        </Grid>
    </ControlTemplate>
    

    The error list shows "The type 'WindowsUIXamlBindingWrapper' was not found", related to the entry:

     DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}"

    However, the app runs OK , so I don't know how to get rid of that message.

    This works ok in .net 3.5. I have Win8 RC with VS 2012 Beta.

    Any ideas?

    df

     
    • Edited by d.firka Monday, June 4, 2012 6:21 PM
    Monday, June 4, 2012 6:20 PM

Answers

  • Thanks for the report!

    Unfortunately, I can reproduce this issue as well. I will file an issue to track this feedback.

    Thanks!
    Unni


    Unni Ravindranathan, Program Manager, Microsoft Expression This posting is provided "AS IS" with no warranties, and confers no rights.

    Monday, June 4, 2012 10:01 PM

All replies

  • Thanks for the report!

    Unfortunately, I can reproduce this issue as well. I will file an issue to track this feedback.

    Thanks!
    Unni


    Unni Ravindranathan, Program Manager, Microsoft Expression This posting is provided "AS IS" with no warranties, and confers no rights.

    Monday, June 4, 2012 10:01 PM
  • Any update on this problem?

    Thanks
    Jonas

    Tuesday, June 12, 2012 3:56 PM
  • Just thought I'd share that I have the same issue. App runs fine, just would like to not have the errors.

    <ListBox.ItemTemplate> 

    <DataTemplate>  

    <Grid>   

    <TextBlock VerticalAlignment="Center"  Width="255" Text="{Binding RM.FullName}"/>   

    <Button VerticalAlignment="Center"   Content="-" Command="{Binding RMM}" Width="45" Height="32" HorizontalAlignment="Right" Foreground="Red" BorderBrush="Red" DataContext="{Binding ElementName=lb,Path=DataContext}" Padding="12,0,12,4"/>               

    </Grid> 

    </DataTemplate>

    </ListBox.ItemTemplate>


    Wednesday, June 27, 2012 9:01 PM
  • Any update for this? i have the same problem :)


    • Edited by xatte Friday, June 29, 2012 8:40 AM
    Friday, June 29, 2012 8:16 AM
  •  

    <ControlTemplate x:Key="DesignerItemTemplate" TargetType="ContentControl">
        <Grid>
            <Thumb Template="{StaticResource ThumbTemplate}" DragDelta="mictmb_DragDelta_1" 
                   DataContext="{Binding RelativeSource={RelativeSource TemplatedParent}}" />
            <ContentPresenter Content="{TemplateBinding ContentControl.Content}" />
        </Grid>
    </ControlTemplate>

    I am doing the same thing as you. i am using a Thumb with almost the same controltemplate. did you solve this problem in any other way?

    Friday, June 29, 2012 9:26 AM
  • I have the same issue.

    At least it works @ runtime.

    Seems ANY attempt to bind DataContext fails (@ designtime).


    Wednesday, July 11, 2012 8:09 PM