WPF - Adopt size of parent
I was trying to do something similar, found this to work well:
Width="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListBox}},Path=ActualWidth}"
Check out: social.msdn.microsoft
I was trying to do something similar, found this to work well:
Width="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ListBox}},Path=ActualWidth}"
Check out: social.msdn.microsoft