Slider - Moving of slider clears the screen.....

Posted by Mahesh on Stack Overflow See other posts from Stack Overflow or by Mahesh
Published on 2010-04-16T06:36:58Z Indexed on 2010/04/16 6:43 UTC
Read the original article Hit count: 251

Filed under:

Hi,

I am currently working on Silver light 3.0. Currently facing one simple issue but not able to find the solution about it.

I have one column slider, which is placed in between column 1 and column 3. Column 2 contains slider itself.

But when i move the slider from column1 on column 3. That means column1 will only be visible right now. But when i move the slider to the right corer it clears the screen.

Please find herewith my code......

        <Grid Name="grdTopLeft" Grid.Row="1" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0, 0, 0, 0" >
            <radNavigation:RadTabControl x:Name="layerTabControl" TabStripPlacement="Top" Style="{StaticResource IControllerRadTab}">
                <radNavigation:RadTabItem Header="{Binding SelectedLayer.Name}" Style="{StaticResource IRadTabItem}">
                    <Page:WordView x:Name="WordView" Tag="DefaultLayer"/>
                </radNavigation:RadTabItem>
            </radNavigation:RadTabControl>
        </Grid>

        <!-- Top Splitter  -->
        <basic:GridSplitter Grid.Row="1" Grid.Column="1" Width="3" Style="{StaticResource GridSplitterStyle}" VerticalAlignment="Stretch" HorizontalAlignment="Center" IsTabStop="False"/>

        <!--Top Right: Related-->
        <Grid Grid.Row="1" Grid.Column="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="0, 0, 0, 0">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>

            <radNavigation:RadTabControl x:Name="LayersTabControl" TabStripPlacement="Top" ItemContainerStyle="{StaticResource IRadTabItem}" ItemsSource="{Binding TabItems}" Style="{StaticResource IControllerRadTab1}" SelectedIndex="{Binding ActiveTab,Mode=TwoWay}" SelectionChanged="LayersTabControl_SelectionChanged" />
            <Grid Grid.Row="1" Background="#EFF2F7" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >
                <Page:WordView x:Name="RelatedView" Margin="5,5,5,5" Tag="ActiveLayer"/>
            </Grid>
        </Grid>

Can anyone please help me out from this issue.....

Thanks in advance.

Mahesh

© Stack Overflow or respective owner

Related posts about silverlight-3.0