[Mono-bugs] [Bug 82582][Nor] Changed - Canvas.FindName failing
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Aug 24 19:38:40 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by alan.mcgovern at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=82582
--- shadow/82582 2007-08-24 19:37:56.000000000 -0400
+++ shadow/82582.tmp.24513 2007-08-24 19:38:40.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 82582
Product: Moonlight
Version: 1_0
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: xaml
AssignedTo: mono-bugs at ximian.com
ReportedBy: alan.mcgovern at gmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -28,6 +28,71 @@
c.Children.Add(r);
c.FindName("Name");
it returns null. It should be able to find the RotateTransform as it is in
the rectangle which is in the canvas.
+
+------- Additional Comments From alan.mcgovern at gmail.com 2007-08-24 19:38 -------
+I assume the above is why this animation fails to rotate (open in mopen):
+
+<Canvas
+xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+Width="800" Height="600" Name="Canvas">
+ <Canvas.Children>
+ <VisualCollection>
+ <Rectangle Canvas.Left="484" Canvas.Top="382" Width="118"
+Height="58" RenderTransformOrigin="0.5,0.5" Name="Rectangle">
+ <Rectangle.Stroke>
+ <SolidColorBrush Color="#FF000000"
+Name="SolidColorBrush" />
+ </Rectangle.Stroke>
+ <Rectangle.RenderTransform>
+ <TransformGroup Name="TransformGroup">
+ <TransformGroup.Children>
+ <TransformCollection>
+ <ScaleTransform Name="ScaleTransform" />
+ <SkewTransform Name="SkewTransform" />
+ <RotateTransform
+Angle="3458.68665657388" Name="RotateTransform" />
+ <TranslateTransform
+Name="TranslateTransform" />
+ </TransformCollection>
+ </TransformGroup.Children>
+ </TransformGroup>
+ </Rectangle.RenderTransform>
+ </Rectangle>
+ </VisualCollection>
+ </Canvas.Children>
+
+ <Canvas.Triggers>
+ <EventTrigger RoutedEvent="Canvas.Loaded">
+ <ResourceDictionary>
+ <BeginStoryboard>
+ <Storyboard Name="Storyboard">
+ <Storyboard.Children>
+ <TimelineCollection>
+ <DoubleAnimationUsingKeyFrames
+Storyboard.TargetProperty="(RotateTransform.Angle)"
+Storyboard.TargetName="RotateTransform"
+Name="DoubleAnimationUsingKeyFrames">
+ <DoubleAnimationUsingKeyFrames.KeyFrames>
+ <DoubleKeyFrameCollection>
+ <LinearDoubleKeyFrame
+Value="1632.4103230695" KeyTime="00:00:00" Name="LinearDoubleKeyFrame" />
+ <LinearDoubleKeyFrame
+Value="2714.75171553592" KeyTime="00:00:01.0620000"
+Name="LinearDoubleKeyFrame1" />
+ <LinearDoubleKeyFrame
+Value="3458.68665657388" KeyTime="00:00:05.0250000"
+Name="LinearDoubleKeyFrame2" />
+ </DoubleKeyFrameCollection>
+ </DoubleAnimationUsingKeyFrames.KeyFrames>
+ </DoubleAnimationUsingKeyFrames>
+ </TimelineCollection>
+ </Storyboard.Children>
+ </Storyboard>
+ </BeginStoryboard>
+ </ResourceDictionary>
+ </EventTrigger>
+ </Canvas.Triggers>
+</Canvas>
More information about the mono-bugs
mailing list