Hi,all, I want to default close status of grid splitter when silverlight application start, how can I do that? I set IsCollapsed="true", but not happen any suggestion
A:
Hi,
if you just want to make the grid splitter not visible at the startup, set Visibility="Collapsed".
<sdk:GridSplitter x:Name="MyGridSplitter" Grid.Row="0" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Visibility="Collapsed"/>
This works for me.
If you want to set the grid splitter to visible, you habe to change the visibility to visible e.g. in code behind.
MyGridSplitter.Visibility = Visibility.Visible;
Does this help you?
TerenceJackson
2010-10-27 21:16:37