From the course: AutoCAD: Building Add-ins with C#

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Binding data

Binding data - AutoCAD Tutorial

From the course: AutoCAD: Building Add-ins with C#

Start my 1-month free trial

Binding data

- [Instructor] We learned in our last chapter how to create our objects, and we've learned how to create now in this chapter, an interface, a graphical user interface using Window, that WPF object. Let's take the information stored in our objects now, and show it in this interface, this window. We're going to use binding to do that, to bind the data. We're going to open up our exercise for this video Exercise Files, Chapter eight, 08-02, solution. And there have been some changes to the objects that we've been working on so far, so let's go ahead and take a look at that first. We have our Window Layer List window here. And you notice that we took it a little bit more, we changed the size, so we changed the height and the width of the window, and then we added another grid inside the grid, so you can have hierarchies of grids. This grid controls, or it has two additional controls, the text block, just the piece of text, and the combo box, so you have a drop-down of objects. And, then…

Contents