<p>Is there a way to get at the ItemContaner of a selected item in a listbox?  In Silverlight 2.0 Beta 1 I could, but the container is hidden in Beta 2 of Silverlight 2.0. </p>

<p>I'm trying to resize the listbox item when it is unselected to a specific size and when selected to a variable size.  I also want to get the relative position of the selected item for animations.   Growing to a variable size and getting the relative pasition is why i need to get to the listbox item.</p>

<p>I should clarify i'm not adding items to the listbox explicitly.  I am using data binding in xaml and DataTemplates.  What I have trouble accessing is the ItemContainer of the selected item's DataTemplate.</p>

If you are adding non-UI elements to the listbox (such as strings or non-UI data objects), then this is probably pretty difficult.  However if you wrap your items in some sort of FrameworkElement-derived object before adding them to the listbox, you can use TransformToVisual to get the relative size and use Height and Width to set the size of the item.
In general you can wrap your objects in a ContentControl like the following.  Instead of:
```
```
_ListBox.Items.Add(obj0);
_ListBox.Items.Add(obj1);
```
```
Do this:
```
```
_ListBox.Items.Add(new ContentControl { Content = obj0 });
_ListBox.Items.Add(new ContentControl { Content = obj1 });
```
```
Now when you get _ListBox.SelectedItem you can cast it to ContentControl and set the size and get the relative position.  If you need the original object, simply get the value of the item's Content property.