Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1655
Scroll Bar is not appearing for a TabItemEx
posted

Hello,

I have an issue related to scroll bar in TabItemEx.

The scroll bar is not appearing. I did all the permutation and combination for the scroll var to appear, but failed to get it. Kindly help me in this regard.

Below is the sample xaml code:


    <Grid Height="Auto" Width="Auto" Style="{StaticResource gridGrd}">
        <igWindows:XamTabControl Name="tabMaintainBuilding"
                                 AllowTabClosing="False" >
            <igWindows:TabItemEx Name="tabBuilding" Tag="AddBuilding" Height="25" AllowClosing="False"
                                             Style="{StaticResource xamTabItem}">

                <igWindows:TabItemEx.Header>
                    <TextBlock FontWeight="Bold" Name="tblAddEditBuilding"></TextBlock>
                </igWindows:TabItemEx.Header>
                <!--<ScrollViewer VerticalScrollBarVisibility="Auto">
                                <StackPanel Height="Auto" Name="spnlBuilding" Width="Auto">-->
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"></RowDefinition>
                        <RowDefinition Height="Auto"></RowDefinition>
                        <RowDefinition Height="Auto"></RowDefinition>
                    </Grid.RowDefinitions>
                    <GroupBox Margin="3,5,0,2" Grid.Row="0" Width="920" Style="{StaticResource groupboxStyle}" Height="Auto"  >
                        <GroupBox.Header>
                            <TextBlock FontWeight="Bold" Style="{StaticResource gbHeader}">Building Detail</TextBlock>
                        </GroupBox.Header>
                        <Grid>
            ...................
                        </Grid>
                    </GroupBox>

                    <Grid Grid.Row="2" Height="40" Grid.ColumnSpan="8" VerticalAlignment="Top">
            .....................
                    </Grid>
                </Grid>
            </igWindows:TabItemEx>

            <igWindows:TabItemEx Name="tabFlat" Tag="AddFlat" Height="25" AllowClosing="False"
                   Style="{StaticResource xamTabItem}" >
                <igWindows:TabItemEx.Header >
                    <TextBlock FontWeight="Bold" Name="tblAddEditFlat"></TextBlock>
                </igWindows:TabItemEx.Header>
                <StackPanel Orientation="Horizontal">
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*" />
                        </Grid.RowDefinitions>
                        <ScrollViewer Grid.Column="0" Grid.Row="0" VerticalScrollBarVisibility="Visible"
                                      HorizontalScrollBarVisibility="Auto" >
                            <Grid>
                ............................
                            </Grid>
                        </ScrollViewer>
                    </Grid>
                </StackPanel>
            </igWindows:TabItemEx>
        </igWindows:XamTabControl>
    </Grid>

Thanks,

Varun

 

Parents
No Data
Reply Children
No Data