Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining scaled size
Message
De
17/02/2009 10:27:41
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Titre:
Determining scaled size
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01382361
Message ID:
01382361
Vues:
65
Hi,

Say I have a UIElement displayed on screen (for the sake of argument a rectangle) that has been scaled using a Transform.
I don't have access the the actual ScaleTransform that was originally applied - only a current MatrixTransform.
Is it possible to determine the actual size of the Rectangle on screen?
I've a feelling not but.....

UPDATE: This looks cool. Someone reverse engineered a routine from Expression Blend:
http://silverlight.net/forums/t/20352.aspx

TIA,
Viv
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform