WPF浏览器应用程序错误 [英] WPF Browser Application error

查看:112
本文介绍了WPF浏览器应用程序错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想设计图像颜色选择器Web应用程序.
我有一个代码,可以通过以下链接在WPF Windows应用程序中找到

WPF图像像素颜色选择器元素 [
请帮帮我...

在此先感谢

代码在这里.

I wanna design Image color picker web application.
I have got a code, which is in WPF Windows Application from following link

WPF Image Pixel Color Picker Element[^]

When I am designing the same code in WPF Browser Application, getting a runtime error as "xpcom.dll not found"

Please help me...

Thanks in Advance

Code is here.

<page x:class="WpfBrowserApplication1.Page1" xmlns:x="#unknown">
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:ctrls="clr-namespace:ColorPickerControls;assembly=ColorPickerControls"
	xmlns:local="clr-namespace:WpfBrowserApplication1"
    Title="Page1">
    
    
    <grid margin="10">
        <grid.rowdefinitions>
            <rowdefinition />
            <rowdefinition height="Auto" />
        </grid.rowdefinitions>

        <border borderbrush="Beige" borderthickness="5">
            <ctrls:imagecolorpicker x:name="image" source="smilik.jpg" xmlns:ctrls="#unknown" />
        </border>
        <border grid.row="1" height="30" width="50">
					HorizontalAlignment="Center"
					BorderBrush="Black" BorderThickness="1" Margin="5">
            <rectangle fill="{Binding ElementName=image, Path=SelectedColor,<br mode=" hold=" />					Converter={StaticResource colorToBrushConverter}}" />
        </border>
    </grid>
</page>

推荐答案

如果您使用的是Chrome浏览器,那么切换到IE会发生什么.请参阅: http://code.google.com/p/chromium/issues/detail?id= 4051 [^ ]
If you''re using Chrome as the browser what happens if you switch to IE. See: http://code.google.com/p/chromium/issues/detail?id=4051[^]


这篇关于WPF浏览器应用程序错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆