Tuesday, April 15, 2008 - Posts

Silverlight 2, Databinding to the MediaElement.Position property

In a word, don't :-) MediaElement.Position is very attractive because it's pretty common to display some UI to show an indicator displaying where you're up to within a particular video. MediaElement.Position is of type TimeSpan and it's a DependencyProperty Read More

Filed Under:

Silverlight 2, Buttons in ListBoxes

Just something that I came across recently. If I have a ListBox like this; <Grid x:Name="LayoutRoot" Background="White"> <ListBox ItemsSource="{Binding}"> <ListBox.ItemTemplate> <DataTemplate> Read More

Filed Under:

Silverlight 2 - Getting to the ListBoxItems in a ListBox

If you've got a Silverlight UI like this; <Grid x:Name="LayoutRoot" Background="White"> <ListBox ItemsSource="{Binding}" x:Name="lstNumbers"> <ListBox.ItemTemplate> <DataTemplate> Read More

Filed Under: