Thoughts on what I'm doing wrong here? If I collapse a ListBoxItem, why does the RadListBox control on partially collapse it? It still has a height of a couple of pixels when the bound property for visiblity is set to Visibility.Collapsed.
<telerik:RadListBox Name="MainListControl" Grid.Row="3" VerticalAlignment="Stretch" VerticalContentAlignment="Stretch" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch" Background="White" Margin="0,0,0,0" ItemsSource="{Binding Path=HumanResources,Mode=TwoWay}" > <telerik:RadListBox.ItemsPanel> <ItemsPanelTemplate> <StackPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/> </ItemsPanelTemplate> </telerik:RadListBox.ItemsPanel> <telerik:RadListBox.ItemTemplate> <DataTemplate> <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Visibility="{Binding Path=IsVisible, Mode=TwoWay,Converter={StaticResource localVisibilityConverter}}" > <Grid.RowDefinitions> <RowDefinition /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto"/> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <StackPanel Name="ButtonPanel" Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Left" Margin="3,3,3,3"> <telerik:RadButton x:Name="EditButton" Margin="3,3,3,3" Click="Edit_Click" Tag="{Binding Path=HumanResourceID}" Content="{Binding Edit, Source={StaticResource GeneralStrings}}" /> </StackPanel> <TextBlock Grid.Column="1" x:Name="expanderCaption" HorizontalAlignment="Stretch" VerticalAlignment="Center" Text="{Binding Path=Description}" Margin="3,3,3,3" /> </Grid> </DataTemplate> </telerik:RadListBox.ItemTemplate> </telerik:RadListBox>