Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9317215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T02:49:10+00:00 2026-06-19T02:49:10+00:00

I am trying to use properties from the ViewModel to assign the textual values

  • 0

I am trying to use properties from the ViewModel to assign the textual values for the control BusyIndicator from the WPF Extended ToolKit. The control example provided uses a DataTemplate to assign progress text. Statically assigning text is fine, but when trying to accessing values from VM to assign the values results in binding errors.

Assignation of VM handled in app.xaml.cs:

public partial class App : Application {

        private void OnStartup(object sender, StartupEventArgs seArgs) {
            MainWindowView mwv = new MainWindowView();
            mwv.DataContext = new DataSetViewModel(new DataSetModel());
            mwv.Show();
        }
}

View Control works except content strings obtained from VM:

<kit:BusyIndicator IsBusy="{Binding Path=ProcessingData,Converter={StaticResource busyIndicator}}"
                               DisplayAfter="0"
                                           >


    <kit:BusyIndicator.BusyContentTemplate>
        <DataTemplate>
            <StackPanel Margin="4">

                <!-- Output Error is 'WaitProgressUploadTitle' property not found on 'object' ''String' (HashCode=-775806441)'... -->
                <!-- Output Error is  'WaitProgressUploadContent' property not found on 'object' ''String' (HashCode=-775806441)'... -->
                <TextBlock Text="{Binding Path=WaitProgressUploadTitle}" FontWeight="Bold" HorizontalAlignment="Center"/>  
                <StackPanel Margin="4">
                    <TextBlock Text="{Binding Path=WaitProgressUploadContent}" />
                    <ProgressBar Value="40" Height="15"/>
                </StackPanel>
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <Button Grid.Column="0" Content="Pause" HorizontalAlignment="Right" Margin="0 0 2 0"/>
                    <Button Grid.Column="1" Content="Cancel" HorizontalAlignment="Left" Margin="2 0 0 0"/>
                </Grid>
            </StackPanel>
        </DataTemplate>
    </kit:BusyIndicator.BusyContentTemplate>
    <kit:BusyIndicator.OverlayStyle>
        <Style TargetType="Rectangle">
            <Setter Property="Fill" Value="#ffffeeee"/>
        </Style>
    </kit:BusyIndicator.OverlayStyle>
    <kit:BusyIndicator.ProgressBarStyle>
        <Style TargetType="ProgressBar">
            <Setter Property="Visibility" Value="Collapsed"/>
        </Style>
    </kit:BusyIndicator.ProgressBarStyle>

        <TextBlock Text="CONTENTCONTENTCONTENTCONTENT" Margin="0,100,0,0" HorizontalAlignment="Center" MaxWidth="675" TextAlignment="Center" FontSize="20" Visibility="{Binding Path=FileOpenGood,Converter={StaticResource errorVisibility}}" Background="Cornsilk" />

    </kit:BusyIndicator>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T02:49:11+00:00Added an answer on June 19, 2026 at 2:49 am

    When you work with ContentTemplate binding inside DataTemplate is made against Content property of the ContentControl and not its DataContext

    Just set

    BusyContent={Binding}
    

    btw. As you see from the errors the type of the bound object is string.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use an Expression selector to generically assign properties from one
I am trying to load properties from a file (test.properties) The code I use
I am trying to use ResourceBundle#getStringArray to retrieve a String[] from a properties file.
We're trying to use the [AllowHtml] decoration on one of our ViewModel properties so
In Spring MVC Hibernate application , when i am trying to use properties file
I'm trying to use the SelectionStart and SelectionLength properties for a textbox. It is
I’m trying to use the proprietary iPhone Safari properties -webkit-transition and -webkit-transform to make
I'm trying to use Google Guice with the @Inject and @Singleton properties as follows:
I'm trying use mod_rewrite to rewrite URLs from the following: http://www.site.com/one-two-file.php to http://www.site.com/one/two/file.php The
We use the code below to inject Spring beans with properties from a properties

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.