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 have implemnted progressbar in my small game like below gameProgressBar =(ProgressBar)findViewById(R.id.GameProcess); thrd =
I have this progressbar control which i would like to be visible on several
I'm using the ProgressBar control in a WPF application and I'm getting this old,
its my first time using a ProgressBar in c#. The idea is to use
So I'm using the ProgressBar JQuery plugin ( http://t.wits.sg/misc/jQueryProgressBar/demo.php ) to create some static
Is it possible to make a progressbar in Java like displayed on this page?
I've in the following code the progressbar working on the first page load. after
I have been playing around with the Silverlight progressbar a while and no matter
I have a progressbar with the following style: style=?android:attr/android:progressBarStyleSmall Sadly the bar is nearly

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.