How can I access the ScrollViewer which is created automatically by this ListBox? I need to ScrollToBottom;
<ListBox Name="messageListBox" Height="300" >
<ListBox.ItemTemplate >
<DataTemplate>
<StackPanel Orientation="Horizontal">
<TextBlock Text="{Binding Path=LastUpdateDT, StringFormat=HH:mm}" Margin="0,0,5,0"/>
<TextBlock Text="{Binding Path=Message}"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
You can recurse down the visual tree and grab the element: