Thanks for your reply. But my question is related to already compiled DLL using control library project type.
I am sorry if I couldn't make it clear, but I am not asking about including a DLL into the project. Once we have the DLL with us, how can we put into VS tool box under a particular tab - along with other default controls. Again, that should not be by dragging DLL into VS tool box. Because I need to deploy that DLL. So, I guess - I need to create some EXE, which will perform some specific action - and everything will be done. Just like in the case of Telerik and other professional WPF controls.
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.
I have a series of "drawing" objects that hold some application specific data alongside an image. These objects (or at least their dates) are displayed in a listbox, when an item is selected it's image should be generated and displayed in another part of the grid. It does however not appear.
We are writing a Silverlight 4.0 application which is actually a conversion of ASP to this application.
In one block of forms we have a datagrid at the top of the form. The remainder of the form (each grouped in sections) can only be visible when the datagrid's selected index is > 0.
So I know I have to bind the Visibility attribute and I know I have to use a BooleanToVisibilityConverter. What I'm not sure about is that I cannot seem to find just the right statement to get addressability to the datagrid and its' properties leastwise how to do the comparison.
I'm thinking I may have to write my own Converter to do the comparison logic but I still have to know how to define the datagrid as the object being passed to the converter.
So I implemented my convert. check
Then I implemented the binding. check
Added the namespace for local. check
Then did local: my converter was visible and got it set with a key. check
Ran the solution and got this error at compile time.
Error 1 The tag 'DataGridVisibilityConverter' does not exist in XML namespace 'clr-namespace:CNRPGlobal.Converters; assembly=GlobalLibraryDefinitions'.
So how is it I can type local: and see my class library. Yet when I compile XAML cannot? I confirmed it is public.