Print Page | Close Window

Making a custom data converter visible in DevForce designers

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=321
Printed Date: 30-Aug-2025 at 4:02pm


Topic: Making a custom data converter visible in DevForce designers
Posted By: Customer
Subject: Making a custom data converter visible in DevForce designers
Date Posted: 20-Jul-2007 at 12:13pm
I have a custom data converter that I would like to have available in the DevForce designers.  How do I make it available in the designers?



Replies:
Posted By: pkarsh
Date Posted: 20-Jul-2007 at 12:25pm
The steps to do this are as follows:
1. Place the custom data converter class file into a project that creates an assembly that will be referenced by the project that uses the DevForce designer components. This can be the UI project itself.
2. Compile the assembly. If you have added the converter class file to the UI project, close Visual Studio before compiling.
3. Re-open the design view of the form project of interest (the one that is using the DevForce designers). The custom converter should now appear in the list of converters that are appropriate for the data type supported by the converter. For example, a custom data converter that works against boolean data should appear in a list of converters available for a property of data type boolean.



Print Page | Close Window