Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am designing Auroglass >window.
I encountered an error.
HTML
<window x:class="GlassEffect.MainWindow" xmlns:x="#unknown">
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:src="clr-namespace:GlassEffect"
removed="#01FFFFFF"
src:GlassEffect.IsEnabled="true"  <----ERROR
Title="VUI Login" Height="350" Width="525">
</window>

Can anyone tell me what is going wrong?
Posted
Updated 18-Feb-12 6:34am
v3
Comments
André Kraak 18-Feb-12 12:33pm    
Edited question:
Added pre tags
Spelling/Grammar
Sergey Alexandrovich Kryukov 20-Feb-12 15:32pm    
Not enough information. You need to show your code.
--SA
Triynko22 10-Feb-14 18:46pm    
There is enough information. The "GlassEffect.IsEnabled" comes from the following project, for which the full source code is available:
http://www.codeproject.com/Articles/22sd820/Adding-Glass-Effect-to-WPF-using-Attached-Properti

When I downloaded that project and added the same attribute my WPF window, I got an identical error. The application loads fine, despite the error, and the glass effect is applied as expected. So I'm confused as to why the compiler designer is showing this error despite it compiling and running fine.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900