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 30687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T13:29:13+00:00 2026-05-10T13:29:13+00:00

Anyone know if it’s possible to databind the ScaleX and ScaleY of a render

  • 0

Anyone know if it’s possible to databind the ScaleX and ScaleY of a render transform in Silverlight 2 Beta 2? Binding transforms is possible in WPF – But I’m getting an error when setting up my binding in Silverlight through XAML. Perhaps it’s possible to do it through code?

<Image Height='60' HorizontalAlignment='Right'         Margin='0,122,11,0' VerticalAlignment='Top' Width='60'         Source='Images/Fish128x128.png' Stretch='Fill'         RenderTransformOrigin='0.5,0.5' x:Name='fishImage'>     <Image.RenderTransform>          <TransformGroup>              <ScaleTransform ScaleX='1' ScaleY='1'/>              <SkewTransform/>              <RotateTransform/>              <TranslateTransform/>          </TransformGroup>     </Image.RenderTransform> </Image> 

I want to bind the ScaleX and ScaleY of the ScaleTransform element.

I’m getting a runtime error when I try to bind against a double property on my data context:

Message='AG_E_PARSER_BAD_PROPERTY_VALUE [Line: 1570 Position: 108]' 

My binding looks like this:

<ScaleTransform ScaleX='{Binding Path=SelectedDive.Visibility}'                  ScaleY='{Binding Path=SelectedDive.Visibility}'/> 

I have triple verified that the binding path is correct – I’m binding a slidebar against the same value and that works just fine…

Visibility is of type double and is a number between 0.0 and 30.0. I have a value converter that scales that number down to 0.5 and 1 – I want to scale the size of the fish depending on the clarity of the water. So I don’t think it’s a problem with the type I’m binding against…

  • 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. 2026-05-10T13:29:14+00:00Added an answer on May 10, 2026 at 1:29 pm

    ScaleTransform doesn’t have a data context so most likely the binding is looking for SelectedDive.Visibility off it’s self and not finding it. There is much in Silverlight xaml and databinding that is different from WPF…

    Anyway to solve this you will want to set up the binding in code**, or manually listen for the PropertyChanged event of your data object and set the Scale in code behind.

    I would choose the latter if you wanted to do an animation/storyboard for the scale change.

    ** i need to check but you may not be able to bind to it. as i recall if the RenderTransform is not part of an animation it gets turned into a matrix transform and all bets are off.

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

Sidebar

Related Questions

Anyone know if it is possible to make the PeriodicalUpdater pass the data it
Anyone know if it's possible to set the upper left corner of the Android
Anyone know how to style the header hover color of a WPF ListView? Thanks!
Anyone know if it is possible to write an app that uses the Java
Anyone know if it is possible to do the following: public class User {
Anyone know how I can make a login button in Ruby on Rails for
Anyone know how to set the custom 404 Error pages that the Visual Studio
Anyone know if there is a standard way to create a List from an
Anyone know of a tutorial online that explains how to integrate alexbilbie CodeIgniter-OAuth-2.0-Server as
Anyone know an example of phonegap with $.ajax() in github for Android? I have

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.