[Ironpython-users] IronPython, Daily Digest 12/26/2011

no_reply at codeplex.com no_reply at codeplex.com
Tue Dec 27 09:48:34 CET 2011


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20111227/c507b057/attachment.html>


More information about the Ironpython-users mailing list