# Place children of ux:Class in specific slot

**URL:** <https://forums.fusetools.com/t/place-children-of-ux-class-in-specific-slot/994>\
**Category:** How-to Discussions\
**Created:** [May 28, 2017, 8:03pm UTC](https://forums.fusetools.com/t/place-children-of-ux-class-in-specific-slot/994 "2017-05-28T20:03:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammed\_Manssour](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mohammed_manssour/32/658_2.png) [@Mohammed\_Manssour](https://forums.fusetools.com/u/Mohammed_Manssour)\
**Post date:** [May 28, 2017, 8:03pm UTC](https://forums.fusetools.com/t/place-children-of-ux-class-in-specific-slot/994/1 "2017-05-28T20:03:52Z")

</div>

Hi  
I’m trying to implement a [bootstrap like collapse](https://www.w3schools.com/bootstrap/tryit.asp?filename=trybs_collapsible_panel&stacked=h) using `ScrollView` and i want to place children inside `StackPanel` when inherited, Code below may make things more clear

```auto
<ScrollView ux:Class="Collapse">
	<StackPanel>
		<!-- content to be placed here -->
		<!-- slot here -->
	</StackPanel>
</ScrollView>

<Collapse>
	<Panel ux:Name="ContentToBePlacedInSlot" />
</Collapse>

```

is there any way i can implement it using Current Version of Fuse?

---

<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:** [May 28, 2017, 8:16pm UTC](https://forums.fusetools.com/t/place-children-of-ux-class-in-specific-slot/994/2 "2017-05-28T20:16:07Z")

</div>

Hi! Yes, use `Container` as the base class

```auto
<Container ux:Class="Collapse" Subtree="sp">
    <ScrollView ux:Binding="Children">
        <StackPanel ux:Name="sp">

        </StackPanel>
    </ScrollView>
</Container>

```

Note that all intended children of `Container` must be marked with `ux:Binding="Children"`, otherwise they will be moved into the `Subtree`

---

<div class="post-metadata">

**Author:** ![Mohammed\_Manssour](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/mohammed_manssour/32/658_2.png) [@Mohammed\_Manssour](https://forums.fusetools.com/u/Mohammed_Manssour)\
**Post date:** [May 28, 2017, 8:22pm UTC](https://forums.fusetools.com/t/place-children-of-ux-class-in-specific-slot/994/3 "2017-05-28T20:22:28Z")

</div>

Thanks for Your fast response that really helped 🙂
