We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Export to XAML creates incorrect markup

Thread ID:

Created:

Updated:

Platform:

Replies:

104253 Jul 4,2012 02:03 AM UTC Jul 11,2012 07:17 PM UTC Metro Studio 1
loading
Tags: Metro Studio
Administrator [Syncfusion]
Asked On July 4, 2012 02:03 AM UTC

It appears that exporting a project to XAML so it can be included as a resource file generates markup that is invalid. When I add the generated file, I get a bunch of errors about names already being defined.

Here is a snippet of the generated XAML:

 

    <Viewbox x:Key="Media-Pause">
        <Grid Width="48" Height="48" Visibility="Visible">
            <Grid Name="backgroundGrid" Visibility="Visible">
                <Rectangle Fill="#FF000000" Name="Rect" Visibility="Visible" />
                <Ellipse Fill="#FF000000" Name="Fill" Visibility="Collapsed" />
            </Grid>
        </Grid>
    </Viewbox>
    <Viewbox x:Key="Synchronize">
        <Grid Width="48" Height="48" Visibility="Visible">
            <Grid Name="backgroundGrid" Visibility="Visible">
                <Rectangle Fill="#FF000000" Name="Rect" Visibility="Visible" />
                <Ellipse Fill="#FF000000" Name="Fill" Visibility="Collapsed" />
            </Grid>
        </Grid>
    </Viewbox>

The names in bold are what the compiler is complaining about. Until this is fixed, I can't really any of the images other than to include them as actual PNG files, which I would rather not do.

 


Stephen Jebaraj [Syncfusion]
Replied On July 11, 2012 07:17 PM UTC

Hi Scott,

Thanks for reporting this issue.

We have fixed this issue and will update you with the new build before the end of the week through the Direct-Trac incident that you had created.

Best,
Stephen

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;