# Taking an existing VS project to Blend 3 and binding to an instantiated object?

**URL:** <https://forum.kirupa.com/t/taking-an-existing-vs-project-to-blend-3-and-binding-to-an-instantiated-object/296926>\
**Category:** programming\
**Created:** [September 22, 2009, 7:52pm UTC](https://forum.kirupa.com/t/taking-an-existing-vs-project-to-blend-3-and-binding-to-an-instantiated-object/296926 "2009-09-22T19:52:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gazman](https://avatars.discourse-cdn.com/v4/letter/g/ee7513/32.png) [@Gazman](https://forum.kirupa.com/u/Gazman)\
**Post date:** [September 22, 2009, 7:52pm UTC](https://forum.kirupa.com/t/taking-an-existing-vs-project-to-blend-3-and-binding-to-an-instantiated-object/296926/1 "2009-09-22T19:52:22Z")

</div>

I am trying to continue developing a Visual Studio C# Express project in Blend 3.

In this existing project in Window1.xaml.cs I have a Window\_Loaded method.  
In this method I have instantiated an object called EditBuffer and then set the DataContext of the window to EditBuffer.

EditBuffer takes two custom types as parameters but there is a also an empty constructor.

EditBuffer has various public dependency properties and freezable collections which I would like to bind a GUI to.

How do I add this existing object, EditBuffer, as a data source in Blend 3?

Please, can this be done?
