binding error, cannot find source?

abcd

Member
Joined
May 24, 2023
Messages
21
Programming Experience
Beginner
1686810201505.png

Hi I am getting this binding error . Can you please explain me the reason behind this and how can I solve it .
Please let me know if you need any further data .
 
Without out seeing the relevant code, it's kind of hard to help you.

Given the error message, it looks like you have an issue with your binding path.
 
You could have just posted the code in code tags. Here it is for you:
XML:
<UserControl x:Class="abc.Cont.Controls.FullScreen.FullScreenView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:controls="clr-namespace:abc.Cont.Controls.FullScreen"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:md="http://materialdesigninxaml.net/winfx/xaml/themes"
             xmlns:plugins="clr-namespace:abc.UI;assembly=abc.Comp.Net6"
             plugins:ViewModelLocator.AutoHookedUpViewModel="True"
             mc:Ignorable="d" 
             xmlns:l="http://wpflocalizeextension.codeplex.com"
             d:DesignHeight="638" d:DesignWidth="1514">
    
    

    <Grid Background="#EEEEEE">

        <Grid>
           
            <Grid.RowDefinitions>
                <RowDefinition Height="34*" />
                <RowDefinition Height="64*" />
            </Grid.RowDefinitions>

            <Border Background="#2D9545">

                <Image  VerticalAlignment="Center" HorizontalAlignment="Left"
                           Margin="40 0 0 0" Width="350" Source="/Content/loop.png"></Image>
            </Border>

        </Grid>

        <md:Card VerticalAlignment="Center" HorizontalAlignment="Center"
                     Height="400" Width="500">
            <ContentPresenter x:Name="contentPanel" />
        </md:Card>
        <Image  VerticalAlignment="Bottom" HorizontalAlignment="Right"
                           Margin="0 0 -30 -90" Width="393" Height="277" Source="/Content/hotpot.png"></Image>
        <TextBlock VerticalAlignment="Bottom" HorizontalAlignment="Left">           
            <Hyperlink Command="{Binding NavigateLinkCommand}">
                <TextBlock Text="{l:Loc FullScreenView_TechSupportLinkDesc}" FontSize="22" />
            </Hyperlink>
        </TextBlock>
    </Grid>
</UserControl>
 
So what is {l:Loc FullScreenView_TechSupportLinkDesc} supposed to do? Does the key or property FullScreenView_TechSupportLinkDesc exist?
 
We don't need the complete code. You just need to provide the relevant information. My quick search on Google suggests that "wpflocalization.codeplex.com" does some kind of lookup so that the correct localized version of text is retrieved. My question was simply: does that entry exist so that the look up will succeed?

Do other bits of localization work, and it's only that one that fails? Or do all of your localizations fail?
 
We don't need the complete code. You just need to provide the relevant information. My quick search on Google suggests that "wpflocalization.codeplex.com" does some kind of lookup so that the correct localized version of text is retrieved. My question was simply: does that entry exist so that the look up will succeed?

Do other bits of localization work, and it's only that one that fails? Or do all of your localizations fail?

are you talking with respect to this particular xaml file or in the complete project?
 

Latest posts

Back
Top Bottom