# DockPanel Error

**URL:** <https://forums.fusetools.com/t/dockpanel-error/5146>\
**Category:** General\
**Created:** [February 18, 2016, 2:35pm UTC](https://forums.fusetools.com/t/dockpanel-error/5146 "2016-02-18T14:35:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![0ktane](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/0ktane/32/338_2.png) [@0ktane](https://forums.fusetools.com/u/0ktane)\
**Post date:** [February 18, 2016, 2:35pm UTC](https://forums.fusetools.com/t/dockpanel-error/5146/1 "2016-02-18T14:35:48Z")

</div>

Good day. When going through one of your YouTube tutorials this morning, I came across an error I couldn’t resolve.

Basically, when I try to save and live preview my code, I receive the following error:

‘StatusBarBackground’ does not have a property called ‘DockPanel’ - C:\Users\Me\Documents\Fuse\test\MainView.ux(4:1):E

Errors were encountered while building the project - (0:0):E

and pic of my screen can be seen here:

[http://imgur.com/LpDvrkv](http://imgur.com/LpDvrkv)

The video is to the left, my code is to the right. The interesting thing, is if I create a new project, and delete everything between the DockPanel element already there, I can make a button and it’ll preview. When I add the rectangle though, it gives this error. I’m hoping I’m just that noob enough to be missing something simple. Any help is appreciated. 🙂

Thanks!

//Update//

So, after messing around a bit, I seem to have gotten it to work, but I’m unsure how. Still something to possibly be looked into, I’ll reach out if I have further issues. Thank you!

---

<div class="post-metadata">

**Author:** ![Anders\_Lassen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_lassen/32/522_2.png) [@Anders\_Lassen](https://forums.fusetools.com/u/Anders_Lassen)\
**Post date:** [February 18, 2016, 2:52pm UTC](https://forums.fusetools.com/t/dockpanel-error/5146/2 "2016-02-18T14:52:37Z")

</div>

Hi!

It seems you mistyped `DockPanel.Dock` as simply `DockPanel`.

Pro tip: you can also use just `Dock`, e.g.:

```auto
<StatusBarBackground Dock="Top" />

```

Hope this helps 🙂
