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

  • Home
  • SEARCH
  • 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 6980829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:04:38+00:00 2026-05-27T18:04:38+00:00

Progressbar and Caliburn Micro Hello All, This is my first project using Caliburn so

  • 0

Progressbar and Caliburn Micro

Hello All,

This is my first project using Caliburn so I could be missing something.

I have the below xaml and viewmodel. The view contains a progressbar that is filled to 100% and it reports changes to the method ProgressBar.
The method is fired as expected but its Value parameter is always 0.0
I dove into the source code and the dependency property is correctly passed on and contains the % (Eg 22.45546) but for some reason I don’t onderstand the parameter isn’t bounded and stays 0.0

Any help is greatly appreciated because getting to know Caliburn better is my number 1 priority.

XAML

<ProgressBar Width="100" Height="20" x:Name="ProgressBar">
  <ProgressBar.Triggers>
    <EventTrigger
        RoutedEvent="ProgressBar.Loaded">
      <BeginStoryboard>
        <Storyboard>
          <DoubleAnimation
              Storyboard.TargetName="ProgressBar"
              Storyboard.TargetProperty="Value"
              From="0"
              To="100"
              Duration="0:0:5" />
        </Storyboard>
      </BeginStoryboard>
    </EventTrigger>
  </ProgressBar.Triggers>
</ProgressBar>

C#

public void ProgressBar(double Value)
{
      // Value is always 0.0 ??
}
  • 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-05-27T18:04:39+00:00Added an answer on May 27, 2026 at 6:04 pm

    What happens is 0.0 is the default value for Double.
    You ask for a double but Caliburn does not know what to put in it, so it returns the default.

    From the documentation, you should look at this syntax:

    <ProgressBar
                Width="100"
                Height="20"
                x:Name="ProgressBar">
                <i:Interaction.Triggers>
                    <i:EventTrigger EventName="ProgressChanged">
                        <cal:ActionMessage MethodName="ProgressBar"> 
                                <cal:Parameter Value="{Binding ElementName=ProgressBar, Path=Value}" />
                        </cal:ActionMessage>
                    </i:EventTrigger>
                </i:Interaction.Triggers>
                <ProgressBar.Triggers>
                    <EventTrigger RoutedEvent="ProgressBar.Loaded">
                        <BeginStoryboard>
                            <Storyboard>
                                <DoubleAnimation Storyboard.TargetName="ProgressBar"
                                                 Storyboard.TargetProperty="Value"
                                                 From="0"
                                                 To="100"
                                                 Duration="0:0:5" />
                            </Storyboard>
                        </BeginStoryboard>
                    </EventTrigger>
                </ProgressBar.Triggers>
            </ProgressBar>
    

    Where i: is System.Windows.Interactivity

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

Sidebar

Related Questions

I'm using MVVM via Caliburn Micro on WP7. I have a popup that is
I'm using the ProgressBar control in a WPF application and I'm getting this old,
I am using the below code to update my progress bar. ProgressBar.Visible = true;
I have implemnted progressbar in my small game like below gameProgressBar =(ProgressBar)findViewById(R.id.GameProcess); thrd =
I am using a circular ProgressBar in my Activty.My Problem is this it is
I have this progressbar control which i would like to be visible on several
its my first time using a ProgressBar in c#. The idea is to use
I'm using AsyncTask to display a progressBar while loading Rss News. Because this is
I have a ProgressBar that uses the marquee style when a report is being
So I'm using the ProgressBar JQuery plugin ( http://t.wits.sg/misc/jQueryProgressBar/demo.php ) to create some static

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.