Click here to Skip to main content
15,881,767 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Caro online with wpf Pin
Pete O'Hanlon20-May-11 22:33
mvePete O'Hanlon20-May-11 22:33 
AnswerRe: Caro online with wpf Pin
Abhinav S22-May-11 20:00
Abhinav S22-May-11 20:00 
QuestionPlacing WPF user control into VS tool-box Pin
Prasoon Chaudhary20-May-11 1:57
Prasoon Chaudhary20-May-11 1:57 
AnswerRe: Placing WPF user control into VS tool-box Pin
Mycroft Holmes22-May-11 14:38
professionalMycroft Holmes22-May-11 14:38 
QuestionRe: Placing WPF user control into VS tool-box Pin
Prasoon Chaudhary22-May-11 19:08
Prasoon Chaudhary22-May-11 19:08 
AnswerRe: Placing WPF user control into VS tool-box Pin
Mycroft Holmes22-May-11 19:32
professionalMycroft Holmes22-May-11 19:32 
GeneralRe: Placing WPF user control into VS tool-box Pin
Prasoon Chaudhary22-May-11 19:36
Prasoon Chaudhary22-May-11 19:36 
QuestionUsing XAML for business objects Pin
Jean-Louis Leroy20-May-11 1:35
Jean-Louis Leroy20-May-11 1:35 
This is a follow-up to http://www.codeproject.com/Messages/3896423/Create-business-objects-from-XML.aspx[^] for which I didn't get any answer.

I'm experimenting with the idea of putting a static set of pre-defined business objects in a assembly (CRRT.Domain) by means of XAML. I have a ReportDefinitions.xaml file containing this:
<?xml version="1.0" encoding="utf-8" ?>
<ReportDefinition 
  xmlns="clr-namespace:CRRT.Domain;assembly=CRRT.Domain" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <ReportDefinition.Parameters>
    <TextInConditionReportParameter Name="Foo" />
    <TextInConditionReportParameter Name="Bar" />
  </ReportDefinition.Parameters>
</ReportDefinition>

Alas I get the following message: error MC3074: The tag 'ReportDefinition' does not exist in XML namespace 'clr-namespace:CRRT.Domain;assembly=CRRT.Domain'. Line 3 Position 3

What's wrong ? I checked that the classes do exist (in the proper namespace).

And by the way, should this eventually work, where would the result of the compilation go ? In a resource ? I stumbled upon this last question by accident btw, my initial plan was to incorporate the XAML as a text resource and load it using XamlReader. But Visual Studio spotted the .xaml extension and created a build step.
AnswerRe: Using XAML for business objects Pin
Jean-Louis Leroy20-May-11 1:49
Jean-Louis Leroy20-May-11 1:49 
Question[WPF] Problem binding to an image property Pin
SVanraes19-May-11 21:50
SVanraes19-May-11 21:50 
AnswerRe: [WPF] Problem binding to an image property Pin
Mark Salsbery20-May-11 5:03
Mark Salsbery20-May-11 5:03 
QuestionHow to change the color of a row in listbox Itemsource Pin
Rocky2319-May-11 21:21
Rocky2319-May-11 21:21 
AnswerRe: How to change the color of a row in listbox Itemsource Pin
BubingaMan19-May-11 22:52
BubingaMan19-May-11 22:52 
Questionvisibility of form sections based on selected index of DataGrid Pin
Michael J. Eber19-May-11 13:31
Michael J. Eber19-May-11 13:31 
AnswerRe: visibility of form sections based on selected index of DataGrid [modified] Pin
Mark Salsbery19-May-11 17:35
Mark Salsbery19-May-11 17:35 
GeneralRe: visibility of form sections based on selected index of DataGrid Pin
Michael J. Eber20-May-11 7:09
Michael J. Eber20-May-11 7:09 
GeneralRe: visibility of form sections based on selected index of DataGrid Pin
Mark Salsbery20-May-11 7:28
Mark Salsbery20-May-11 7:28 
GeneralRe: visibility of form sections based on selected index of DataGrid [modified] Pin
Michael J. Eber20-May-11 7:56
Michael J. Eber20-May-11 7:56 
GeneralRe: visibility of form sections based on selected index of DataGrid Pin
Mark Salsbery20-May-11 8:07
Mark Salsbery20-May-11 8:07 
GeneralRe: visibility of form sections based on selected index of DataGrid [modified] Pin
Mark Salsbery20-May-11 8:12
Mark Salsbery20-May-11 8:12 
GeneralRe: visibility of form sections based on selected index of DataGrid Pin
Michael J. Eber20-May-11 8:19
Michael J. Eber20-May-11 8:19 
GeneralRe: visibility of form sections based on selected index of DataGrid Pin
Mark Salsbery20-May-11 8:26
Mark Salsbery20-May-11 8:26 
GeneralRe: visibility of form sections based on selected index of DataGrid Pin
Michael J. Eber20-May-11 8:42
Michael J. Eber20-May-11 8:42 
GeneralRe: visibility of form sections based on selected index of DataGrid Pin
Mark Salsbery20-May-11 8:49
Mark Salsbery20-May-11 8:49 
Question[WPF] How to Stop an Animation Pin
Richard Andrew x6418-May-11 11:54
professionalRichard Andrew x6418-May-11 11:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.