Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New issue] wpf.LoadComponent can't read Relative URI of ImageSource in
ImageBrush
----------------------------------------------
ISSUES
1. [New issue] wpf.LoadComponent can't read Relative URI of ImageSource in
ImageBrush
http://ironpython.codeplex.com/workitem/32006
User guchi has proposed the issue:
"wpf.LoadComonent() can't read follow xaml file.
------------------------------------------------------------------------
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="WindowTitle" Height="300" Width="300">
<Grid>
<Rectangle Height="150" Width="250">
<Rectangle.Fill>
<ImageBrush ImageSource="/cake.jpg"/>
</Rectangle.Fill>
</Rectangle>
</Grid>
</Window>
------------------------------------------------------------------------
But wpf.LoadComponent can read when ImageBrush tag is changed as follows.
<ImageBrush x:Name="image1"/>
And I add a follow line in a script file.
" self.image1.ImageSource = BitmapImage(Uri("/cake.jpg", UriKind.Relative))"
("self" is a Window class.)
Then the script file can work as intended.
Of course, I have comfirmed that wpf.LoadComponent can read Absolute URI of
ImageSource in ImageBrush.
Therefore, I assume this is a bug.
Please comfirm."
----------------------------------------------
----------------------------------------------
You are receiving this email because you subscribed to notifications on
CodePlex.
To report a bug, request a feature, or add a comment, visit IronPython Issue
Tracker. You can unsubscribe or change your issue notification settings on
CodePlex.com.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users